Help! Can't install MySQLdb
alan-ng at empresa.com
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 "build.py" as root) :
cp: /usr/lib/python1.5/config/Makefile.pre.in: No such file or directory
make: Makefile.pre.in: No such file or directory
make: *** No rule to make target `Makefile.pre.in'. Stop.
make: *** No targets. Stop.
Traceback (innermost last):
File "build.py", line 14, in ?
File "MySQLdb.py", 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.
More information about the Python-list