First time here? Check out the FAQ!

Revision history  [back]

The fix for the error message you mention is to install the libmysqlclient-dev package using apt (assuming you're using Debian/Ubuntu):

sudo apt-get install libmysqlclient-dev

Then try installing mysql-python again:

sudo pip install mysql-python