Help! Can't install MySQLdb

Alan Pogrebinschi alan-ng at
Mon Nov 1 13:48:11 CET 1999


I am new to python modules, I am triying to install MySQLdb 0.1 on RH 5.2 ,
Python 1.5.2, and get (when running "" as root) :

cp: /usr/lib/python1.5/config/ No such file or directory
make: No such file or directory
make: *** No rule to make target `'.  Stop.
make: *** No targets.  Stop.
Traceback (innermost last):
  File "", line 14, in ?
    import MySQLdb
  File "", line 19, in ?
    from _mysql import *
ImportError: No module named _mysql

It is strange that the dir "/usr/lib/python1.5/config" doesn't even exist
(the parent exists). I used the RPM to upgrade Python to 1.5.2 (I had

I tried to install the older mysql driver too (the one that comes with
ZMySQLDA) and got a very similar error msg when trying to "make" it.

Any hint??



More information about the Python-list mailing list