Install MySQL-python 1.2.3b on mac OS X when you get the
I tried to install MySQL-python on Mac OS X 10.5 and I got the error:
EnvironmentError: mysql_config not found
To fix this error, you need to specify the location of your mysql_config in the site.cfg file.
I found mine in /usr/local/mysql/bin/
In the MySQL-python installation directory, open the site.cfg.
Add a line that says:
mysql_config = /usr/local/mysq/bin/mysql_config
Then run sudo python setup.py install again and it should install correctly.