[BioPython] Error for installation of MySALdb on Mac OS X
Steve Lianoglou
lists.steve at arachnedesign.net
Mon Oct 1 20:18:04 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
It seems as if you need to have the `mysql_config` command in your
PATH variable and it's not there.
Look for where mysql was installed (maybe /usr/local/mysql/...) and
add its bin directory to your PATH environment variable. Or maybe it
installed some binaries/symlinks into your /usr/local/bin directory?
I think that'll do it for you.
-steve
More information about the Biopython
mailing list