[Pythonmac-SIG] installing MySQLdb problem
Larry Meyn
Larry.Meyn at nasa.gov
Sat Feb 2 17:52:49 CET 2008
There is a consistent problem compiling MySQLdb on OS X, wether it's
10.4 or 10.5. The following link details a work around. Even though
it specifically mentions 10.5, the problem exists on 10.4.
http://www.nickshanny.com/2007/10/os-x-105-python-and-mysqldb.html
I hope this works for you.
Cheers,
Larry
On Feb 2, 2008, at 3:02 AM, Grzegorz Laszczyk wrote:
> Hi.
> I have to work with MySQL database. I'm trying to install MySQLdb
> module
> on my MacBook Pro (with Tiger).
>
> I've downloaded source .gz from site, unpack it.
> When trying to install it, an error occured.
>
> grzesieks-computer:~/desktop grzesiek$ cd MySQL-python-1.2.2
> grzesieks-computer:~/desktop/MySQL-python-1.2.2 grzesiek$ python
> setup.py build
> sh: line 1: mysql_config: command not found
> Traceback (most recent call last):
> File "setup.py", line 16, in <module>
> metadata, options = get_config()
> File "/Users/grzesiek/Desktop/MySQL-python-1.2.2/setup_posix.py",
> line
> 43, in get_config
> libs = mysql_config("libs_r")
> File "/Users/grzesiek/Desktop/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
> grzesieks-computer:~/desktop/MySQL-python-1.2.2 grzesiek$
>
> Can you help me. Maybe it is other way to work witk MySQL.
>
> Thanks
> Grzesiek
>
>
>
> ----------------------------------------------------------------------
> Zmus swojego faceta, zeby to przeczytal
> Kliknij >>> http://link.interia.pl/f1ceb
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20080202/102ba73d/attachment.htm
More information about the Pythonmac-SIG
mailing list