Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named '_mysql' #10

Open
freedom-wy opened this issue Aug 20, 2017 · 0 comments
Open

No module named '_mysql' #10

freedom-wy opened this issue Aug 20, 2017 · 0 comments

Comments

@freedom-wy
Copy link

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'`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant