[Pythonmac-SIG] Installing Mysqldb Module on Python 2.5.1 on Mac OS X 10.5.8

engelbert gruber grubert at users.sourceforge.net
Mon Aug 2 11:23:01 CEST 2010


hi,

i am new on the mac too, but somehow managed to build mysqldb

as far as i remeber, it requires a mysql installation and the new xcode.

i did not install Mysqldb but copied it into my project directory
(which now bites back: py2app packages it but python only looks in
 usr/lib/...)

did it build ?

On Fri, Jul 30, 2010 at 4:23 PM, Muthoni Masinde
<muthonimasinde at gmail.com> wrote:
> Hello everyone,
> I am a new entrant to Python (but not new in programming).  I am trying to
> install the mysqldb module on my Mac OS in vain.  I have tried all the
> instructions in the README.
>
> I keep getting the following error
>
> setup_posix.py", line 32, in get_config
>     metadata, options = get_metadata_and_options()
>   File
> "/Users/Muthoni/phd2010/Thesis/software/Python/MySQL-python-1.2.3/setup_common.py",
> line 7, in get_metadata_and_options
>     metadata = dict(config.items('metadata'))
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ConfigParser.py",
> line 544, in items
> ConfigParser.NoSectionError: No section: 'metadata'
>
> Someone please help.
>
> Thank you very much,
> Muthoni
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
>
>


More information about the Pythonmac-SIG mailing list