MySQLdb, Linux, and Import Error
Sam Penrose
see at message.body
Tue Aug 22 00:24:26 EDT 2000
In article <wzg0nyz92h.fsf at sunshine.cs.uu.nl>, Piet van Oostrum
<piet at cs.uu.nl> wrote:
> >>>>> 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.
We always have to do it the ugly way.
--
spenrose at well dot com
More information about the Python-list
mailing list