[BioPython] Error for installation of MySALdb on Mac OS X

Y Tu ytu888 at hotmail.com
Mon Oct 1 17:54:00 UTC 2007


I downloaded mysql-5.0.45-osx10.4-i686.dmg from mysql web and installed it. Then I tried to install MySQL-python-1.2.2 but got the following error. How to create the mysql_config.path file? Thank you very much.

leesComputer:/applications/Python_Bio/MySQL-python-1.2.2 lee$ python setup.py build
sh: line 1: mysql_config: command not found
Traceback (most recent call last):
  File "setup.py", line 16, in 
    metadata, options = get_config()
  File "/Applications/Python_Bio/MySQL-python-1.2.2/setup_posix.py", line 43, in get_config
    libs = mysql_config("libs_r")
  File "/Applications/Python_Bio/MySQL-python-1.2.2/setup_posix.py", line 24, in mysql_config
    raise EnvironmentError, "%s not found" % mysql_config.path
EnvironmentError: mysql_config not found

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx



More information about the Biopython mailing list