Re: MySQLdb ImportError
- From: Steve Holden <steve@xxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 11:02:35 -0400
Sjoerd wrote:
Hello!I'm not aware of a current build for that architecture (and your assumption that the load fails because of the architecture mismatch is correct).
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
It is possible to build the module yourself if it's important enough. I remember doing this some time ago with the Microsoft free compiler kit, for example.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------
.
- References:
- MySQLdb ImportError
- From: Sjoerd
- MySQLdb ImportError
- Prev by Date: Re: Question involving a Python app...
- Next by Date: Re: Setting a read-only attribute
- Previous by thread: MySQLdb ImportError
- Next by thread: Pylons, SQLAlchemy, too many connections problem.
- Index(es):
Relevant Pages
|