So this is my prob:
I've got Python 2.1 installed in the standard redhat way. I've installed MySQLDB and it works great. Only problem is, I want to use it with Zope and ZMySQLDB can't find the module _mysql. Why not? This took me about a day to figure out, but Zope runs on it's own python interpreter (2.1.1) in the zope/bin directory. This version of python, knows nothing of MySQLDB. I tried running the setup.py install script from that interpreter, but I got some path error, any help would be GREATLY appreciated. thanx,
J
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So this is my prob:
I've got Python 2.1 installed in the standard redhat way. I've installed MySQLDB and it works great. Only problem is, I want to use it with Zope and ZMySQLDB can't find the module _mysql. Why not? This took me about a day to figure out, but Zope runs on it's own python interpreter (2.1.1) in the zope/bin directory. This version of python, knows nothing of MySQLDB. I tried running the setup.py install script from that interpreter, but I got some path error, any help would be GREATLY appreciated. thanx,
J
Try this:
python2.1 setup.py build
python2.1 setup.py install --install-lib $ZOPEHOME/lib/python