Menu

cygwin ImportError

Help
jt
2004-03-20
2012-09-19
  • jt

    jt - 2004-03-20

    cygwin 1.5.7-1
    python 2.3.3
    mysql 4.0.18

    I can build and install MySQLdb under cygwin but can't import with python.

    Here is the traceback:
    >>> import MySQLdb
    Traceback (most recent call last):
      File "<stdin>", line 1, in ?
      File "MySQLdb/__init__.py", line 27, in ?
        import _mysql
    ImportError: dlopen: Win32 error 126

    In winerror.h I can find
    #define ERROR_MOD_NOT_FOUND 126L
    but I don't see how to interpret it: _mysql.dll is in /usr/lib/python2.3/site-packages, together with the MySQLdb directory.

    Any idea ?

     
    • jt

      jt - 2004-03-20

      and the MySQLdb version I used is  0.9.3b3  checked out from the CVS

       

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.