2009
07.21
07.21
Had a bit of a snag installing MySQLdb tonight, which is required when installing Django. I ran into the following error when trying to install the MySQLdb egg under Debian Lenny.
EnvironmentError: mysql_config not found
When trying to install MySQL-python
It was fixed by installing the libmysqlclient15-dev package and the installing the egg again:
sudo apt-get install libmysqlclient15-dev
easy_install MySQL_python-1.2.3c1-py2.5-linux-i686.egg
Package details here:

Thanks a lot! This worked
Just wanted to say thank you. I have been struggling with this the whole day and after reading your blog it was all fixed in 1 minute. Cheers.