mysql-python and zope - problem with python.exe version
I have been trying to install ZMySQLDA on Zope version 2.6.2 on Win2k. To do this you need MySQL-Python installed over the same Python interpreter that Zope uses. I have Python 2.3 installed, as well as Zope (which has its own Python 2.1 interpreter). So I had the option of installing MySQL-Python over the 2.1 Zope interpreter, or putting it in the 2.3 directory and having the 2.3 version of Python.exe run Zope. However, I can't seem to do either. The MySQL-Python installation requires at least a Python 2.3 installation, so I can't install it over the Zope version, and if I start Zope with the 2.3 interpreter I get an error saying "Module use of Python21.dll conflicts with this version of Python". Any ideas gratefully received. Thanks. Justin. _________________________________________________________________ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband
Justin Robertson wrote:
However, I can't seem to do either. The MySQL-Python installation requires at least a Python 2.3 installation,
What leads you to believe that? I used ZMySQLDA on Windows many moons ago and it worked fine...
so I can't install it over the Zope version, and if I start Zope with the 2.3 interpreter I get an error saying "Module use of Python21.dll conflicts with this version of Python".
Indeed, you'd have recompile Zope with Python 2.3 for that to work... cheers, Chris
Justin Robertson wrote:
I have been trying to install ZMySQLDA on Zope version 2.6.2 on Win2k. To do this you need MySQL-Python installed over the same Python interpreter that Zope uses. I have Python 2.3 installed, as well as Zope (which has its own Python 2.1 interpreter).
So I had the option of installing MySQL-Python over the 2.1 Zope interpreter, or putting it in the 2.3 directory and having the 2.3 version of Python.exe run Zope.
However, I can't seem to do either. The MySQL-Python installation requires at least a Python 2.3 installation, so I can't install it over the Zope version, and if I start Zope with the 2.3 interpreter I get an error saying "Module use of Python21.dll conflicts with this version of Python".
downloading the 2.1 version of MySQL-Python and installing it in your zope-bundled python lib directory should work. One remark: do not use the binary installer, but unpack the library directly (for instance with Winzip - it will unpack the .exe without problems) hth Rik Hoekstra
participants (3)
-
Chris Withers -
Justin Robertson -
Rik Hoekstra