4 Comments MySQLdb – EnvironmentError: mysql_config not found - 07/21/09
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:
| Bash | | copy | | ? |
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.
Thank You for this note, I dont know why the fuck I had to deal with this for 2 hours.
Thank you so much !