Skip to content Skip to sidebar Skip to footer

No Module Names _mysql; Where Is _mysql

import MySQLdb and traceback: Traceback (most recent call last): File 'D:\zjm_code\sphinx_test\a.py', line 1, in import MySQLdb File 'D:\zjm_code\sphinx_te

Solution 1:

You need to install MySQLdb correctly. It consists of the python module and platform-dependent library (_mysql.dll in your case). Use the win32 installer from the project page instead of installing just by unpacking sources.


Post a Comment for "No Module Names _mysql; Where Is _mysql"