[Zope] No module named _mysql
bromden
bromden at gazeta.pl
Sat Aug 23 10:59:24 EDT 2003
> and am getting this error: "No module named _mysql"
> Prior to install of the Product I had added the mysql-python-0.9.2-
> 1.i386.rpm sucessfully
check out "rpm -ql MySQL-python", this package installs python
modules for python1.5 while you are using probably python2.2,
you have to add the path "/usr/lib/python1.5/site-packages"
to your PYTHONPATH,
then you'll get a warning about C API version mismatch each
time you "import MySQLdb" (or CompatMysqldb), but don't worry,
this doesn't seem to cause any trouble in using mysql
--
bromden[at]gazeta.pl
More information about the Zope
mailing list