I\'m trying to get django/pip/mysql working and i can\'t seem to figure out how to install mysql-python. this is the error i receive when trying to install mysql-python
First create path as below by running into terminal
export PATH=/usr/local/mysql/bin:$PATH
After doing this run following command to terminal
sudo pip3 install flask-mysqldb
try
apt-get install python-mysqldb
Worked for me.
ubuntu: sudo apt-get install libmysqlclient-dev
try downloading python-dev through software manager:
sudo apt-get install python-dev