Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MySQLdb ImportError


  • From: s.rappard at gmail.com (Sjoerd)
  • Subject: MySQLdb ImportError
  • Date: Fri, 31 Aug 2007 07:55:39 -0000

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