[Zope] MySQL-python Question

Dieter Maurer dieter@handshake.de
Wed, 15 Jan 2003 23:42:53 +0100


woof zhang wrote at 2003-1-15 20:22 +0800:
 > Hello all:
 > I just get MySQL-python and try to set it up in Zope.
 > But Zope can't import it.Because Zope think there is no module name
 > _mysql.
 > 
 > Dos any one have solv this puzzle?
 > 
 > Here is some of README in MySQL-python doc:
 > "If you are using a binary package of Zope, you need run setup.py
 > with Zope's python executable. Otherwise, Zope (ZMySQLDA) will not
 > be able to find _mysql."
It means:

   <zopedir>/bin/python setup.py install

Did you do that?



Dieter