MySQL-for-Python-3 icon indicating copy to clipboard operation
MySQL-for-Python-3 copied to clipboard

No module named '_mysql'

Open freedom-wy opened this issue 8 years ago • 0 comments

Python 3.5.3

python setup.py build sudo python setup.py install

`In [2]: import MySQLdb

ImportError Traceback (most recent call last) in () ----> 1 import MySQLdb

~/soft/MySQL-for-Python-3-MySQLdb/MySQLdb/init.py in () 17 from MySQLdb.release import version, version_info, author 18 ---> 19 import _mysql 20 21 if version_info != _mysql.version_info:

ImportError: No module named '_mysql'`

freedom-wy avatar Aug 20 '17 15:08 freedom-wy