In article
<[email protected]>,
"PS.OHM" <[email protected]> wrote:
> On Jan 29, 5:02 am, Sean DiZazzo <[email protected]> wrote:
> > On Jan 28, 12:53 pm, "PS.OHM" <[email protected]> wrote:
> > > I havegetsomeerrorwhen i install MySQLdb on Mac OS X
> >
> > > after i key command $python setup.py build
The build of MySQLdb is not finding the MySQL client database libraries.
You need to install them first and, for the python you are using, you
need a version that includes 32-bit. The easiest options are to
download them from mysql.com or, if you are comfortable with MacPorts, I
would recommend installing them from there.
sudo port install mysql5
In fact, with MacPorts you can install a complete Python 2.6.4, MySQLdb,
and MySQL libraries with just one command. With the MacPorts base
installed, this should do it:
sudo port install py26-mysql
You might need to tweak the variants of some of the packages if you want
32-bit only, etc, depending on what version of OS X you're running on.
--
Ned Deily,
[email protected]
--
http://mail.python.org/mailman/listinfo/python-list