Posted under » MySQL » Ubuntu » Python on 10 January 2010
Tried to install MySQL-python-1.2.3c1 on Ubuntu with python 2.46 but the error say "mysql_config not found". Been Googling for the solution but leads me no where. It was not because of
I don't want to go into the boring details but solution is simple
apt-get install libmysqlclient15-dev apt-get install python-dev
Finally, I was able to run according to the readme with no problems.
python setup.py build python setup.py install