Menu

Urgent help needed: ZMySQLDA on Win2K

Help
Anonymous
2002-01-04
2012-09-19
  • Anonymous

    Anonymous - 2002-01-04

    I'm just starting with Zope, running into big trouble getting Zope and MySQL to work on my win2k testbox. I'm shure the MySQL install is fine and the Zope install works fine too.

    My installation steps were as follows:

    1. Zope-2.4.3-win-x86.exe installed
       - Folder: C:\Programme\WebSite

    2. Python-2.0.1.exe installed
       - Folder: C:\Programme\Physon20

    3. MySQL-python-0.9.1.win32-py2.0.exe installed.
       Copied the following files from C:\Programme\Physon
       to C:\Programme\WebSite\lib\python

       CompatMysqldb.py
       CompatMysqldb.pyc
       CompatMysqldb.pyo
       _mysql.pyd
       _mysql_exceptions.py
       _mysql_exceptions.pyc
       _mysql_exceptions.pyo
       MySQLdb (the entire directory)

    4. ZMySQLDA-2.0.8.tar.gz installed
       to C:\Programme\WebSite\lib\python\Products

    After restarting ZOPE I get the following error messages:

    Import Traceback

    Traceback (most recent call last):
      File "C:\PROGRA~1\WebSite\lib\python\OFS\Application.py", line 563, 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 python20.dll conflicts with this version of Python.

    Any help would be greatly appreciated. Many thanks in advance.

    Peter

     
    • Chris Withers

      Chris Withers - 2002-01-04

      Zope 2.4.3 comes with Python 2.1 so you should be using MySQL-python-0.9.1.win32-py2.1.exe not MySQL-python-0.9.1.win32-py2.0.exe

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.