|
Hi,
I have installed SQLAlchemy and it works pretty good with Maya2009 32-bit,
but in Maya2009 64-bit I can’t load mysql module.
I got:
import _mysql
# Error: DLL load failed with error code 193
# Traceback (most recent call last):
# File “<maya console>”, line 1, in <module>
# ImportError: DLL load failed with error code 193 #
Any ideas?
Oleg
|
|
|
|
Maya2009 64-bit
From Maya Scrip editor:
sys.version
# Result: 2.5.1 (r251:54863, Jun 7 2007, 16:23:10) [MSC v.1400 64 bit (AMD64)] #
import _mysql
# Error: DLL load failed with error code 193
# Traceback (most recent call last):
# File “<maya console>”, line 1, in <module>
# ImportError: DLL load failed with error code 193 #
Maya2009 32-bit
From Maya Scrip editor:
sys.version
# Result: 2.5.1 (r251:54863, Jun 5 2007, 22:56:07) [MSC v.1400 32 bit (Intel)] #
import _mysql
_mysql.__version__
# Result: 1.2.2 #
Looks like maya 64bit used [MSC v.1400 64 bit (AMD64)] Python.
|
|
|
|
Yes I was going to answer you about the error code #193. It bugged me all day once until I figured it out…
Marin Petrov
________________
Character TD
http://scroll-lock.eu
|
|
|
|
Thank You,
it’s already fixed. I’m compiled mysql libs from source code and it’s worked smoothly.
|
|
|
|
There is one dll file - libmysql.dll along with mysqldb.exe , copy that to maya bin folder 64 bit version
|
|
|