On AWS Linux 2024/23 you have to do

Go to root directory of project and enter following commands step by step

# install pip

sudo dnf install -y pip

# install dependencies

sudo dnf install -y mariadb105-devel gcc python3-devel

# install mysqlclient

pip install mysqlclient

  Output Screenshot

Leave a Reply

Your email address will not be published. Required fields are marked *