Skip to content

Instantly share code, notes, and snippets.

@shibli049
Last active April 23, 2023 05:48
Show Gist options
  • Save shibli049/00f8bf3843ab615474da to your computer and use it in GitHub Desktop.
Save shibli049/00f8bf3843ab615474da to your computer and use it in GitHub Desktop.
Install mysqlclient for python3
#sudo pip3 install mysqlclient fails with mysql_config not found
sudo apt-get install libmysqlclient-dev
#without pip3 it will not going to work for python3
sudo pip3 install mysqlclient
# to run django migration
python3 manage.py migrate
@HrushikeshKoppula
Copy link

++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment