django 在python 3中提示 无法找到 MySQLDB

一直百思不得其解,为什么会建立表失败,知道我看到了这个回答。。。

I had luck with simply

pip install mysqlclient

in my python3.4 virtualenv after

sudo apt-get install python3-dev libmysqlclient-dev

which is obviously specific to ubuntu/debian, but I just wanted to share my success

posted @ 2017-05-09 20:13  仰望高端玩家的小清新  阅读(197)  评论(0编辑  收藏  举报