Hello everyone:
OS:WIN7 X64
Python:python 2.7.1 x64
python-mysql:MySQL-python-1.2.3
when i type the "import MySQLdb",got a error message :
import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\python27\lib\site-packages\MySQLdb__init__.py", line 19, in <module>
import _mysql
ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。
I seach this in google,but no one like me.
How can i do it?
Thx very much.
In English, the error seems to be, "Is not a valid Win32 application."
Where did you get the MySQL-python package, or did you build it yourself?
Log in to post a comment.
Hello everyone:
OS:WIN7 X64
Python:python 2.7.1 x64
python-mysql:MySQL-python-1.2.3
when i type the "import MySQLdb",got a error message :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\python27\lib\site-packages\MySQLdb__init__.py", line 19, in <module>
import _mysql
ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。
I seach this in google,but no one like me.
How can i do it?
Thx very much.
In English, the error seems to be, "Is not a valid Win32 application."
Where did you get the MySQL-python package, or did you build it yourself?