Hi I am new to Python as well as database implementation. After installing MySQL and trying to import it in my Python script (import MySQLdb), but I got this in return:
Traceback (most recent call last):
File "C:/Users/opsu/PycharmProjects/FirstProject/src/Test2.py", line 2, in <module>
import MySQLdb
File "C:\Python27\lib\site-packages\MySQLdb\__init__.py", line 19, in <module>
import _mysql
ImportError: DLL load failed: %1 is not a valid Win32 application.
Process finished with exit code 1
1 suggestion I got from google was to uninstall python 64bit and install python 32 bit. However I am also using wxPython 64bit so I cannot do this. Can anyone help me solve this problem?