MySQLdb ImportError

Sjoerd s.rappard at gmail.com
Fri Aug 31 09:55:39 CEST 2007


Hello!

When I try to import the MySQLdb lib python generates an error:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import MySQLdb
  File "C:\Python25\lib\site-packages\MySQLdb\__init__.py", line 19,
in <module>
    import _mysql
ImportError: DLL load failed with error code 193

This is on a AMD64 bit machine, when I import it on a 32 bit machine
it works fine.
Is there anyway to fix this? Is there a build for AMD64 bit machines
or is there simply no way
that I can get MySQLdb working on it?

Thanks in advance,
Sjoerd




More information about the Python-list mailing list