MySQLdb, Linux, and Import Error

Piet van Oostrum piet at cs.uu.nl
Mon Aug 21 15:51:50 EDT 2000


>>>>> Ian Maurer <ian_maurer at my-deja.com> (IM) writes:

IM> I am just learning how to install software on my own linux box, so
IM> please be kind.

IM> I have installed MySQL. Works beautifully.

IM> I then installed Python 1.5. Works beautifully, too.

IM> I then tried to build the MySQLdb but it failed. I had to go in
IM> and copy the MySQL include and lib directories to the spots the
IM> make file was looking for them. Is this right or did I miss
IM> something? The build.py then worked fine.

Usually you do it the other way around: change the Makefile (or a config
file) so that it includes the proper directories.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the Python-list mailing list