MySQLdb installation

wes weston wweston at att.net
Mon Nov 8 14:34:49 EST 2004


T. Kaufmann wrote:
> Hi,
> 
> RDBMS MySQL works fine on my machine. I want to install MySQL-python 
> 1.0.0 under Red Hat 9.0.
> 
>  >>> platform.platform()
> 'Linux-2.4.20-8-i686-with-redhat-9-Shrike'
> 
> There are some problems. If I call python
> 
> setup.py build
> 
> there are lots of errors:
> 
> _mysql.c:41:19: mysql.h: File not found
> 
> What can I do? How can I fix it?
> 
> o-o
> 
> Thomas

Thomas,
    I believe the mysql.h file that is not being found
is part of the mysql developement package (and not the
MySQLDB package). If you do have mysql.h somewhere, it
is not in your include path.
wes




More information about the Python-list mailing list