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

Y Tu ytu888 at hotmail.com
Tue Oct 2 12:29:46 UTC 2007


Hi Steve,

I checked the PATH and added /usr/local/mysql/bin into it. But I still got the same error message when running the setup.py.

Thanks.

> CC: biopython at lists.open-bio.org
> From: lists.steve at arachnedesign.net
> Subject: Re: [BioPython]  Error for installation of  MySALdb on Mac OS X
> Date: Mon, 1 Oct 2007 16:18:04 -0400
> To: ytu888 at hotmail.com
> 
> > 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
> 

_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us



More information about the Biopython mailing list