[ZOPE] Zope, Python, Win2k and Mysql

Gillou nospam at bigfoot.com
Mon Jul 29 06:27:37 EDT 2002


Hi,

You should...

1/ Install Python 2.1.3 from www.python.org (even if you lalready got the
one provided with Zope)

2/ Install mysqdb from sourceforge on top of this new python installation

3/ change the "start.bat" file to run zope from that python.exe (tipycally
c:\python2.1\python.exe)

This does the job for me.

--Gilles

"Rhymes" <raims at dot.com> a écrit dans le message de news:
4a4akukkfg92po76t3svc7flen29s3stui at 4ax.com...
>
> I've just installed Zope 2.5.1 on my windows box (Win2k Pro) but it's
> built on top its own python version (2.1). During the day I use Py
> 2.2.1 and when i tried to install the mysql-bindings (ZMySQLDA) for
> Zope a problem raises itself. In the Zope-Ctrl-Panel there is this
> error:
>
> Traceback (most recent call last):
>   File "C:\PROGRA~1\WEBSITE\lib\python\OFS\Application.py", line 531,
> in import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File "C:\PROGRA~1\WEBSITE\lib\python\Products\ZMySQLDA\__init__.py",
> line 91, in ?
>     import DA
>   File "C:\PROGRA~1\WEBSITE\lib\python\Products\ZMySQLDA\DA.py", line
> 92, in ?
>     from db import DB
>   File "C:\PROGRA~1\WEBSITE\lib\python\Products\ZMySQLDA\db.py", line
> 89, in ?
>     import _mysql
> ImportError: Module use of python22.dll conflicts with this version of
> Python.
>
> what can i do now?
>
> --
> Rhymes (rhymes at myself.com)
> http://www26.brinkster.com/rhymes
> " ride or die "




More information about the Python-list mailing list