No module named MySQLdb
ubuntu 14
1.easy_install mysql-python (mix os)
2.pip install mysql-python (mix os/ python 2)
3.pip install mysqlclient (mix os/ python 3)
4.apt-get install python-mysqldb (Linux Ubuntu, …)
5.cd /usr/ports/databases/py-MySQLdb && make install clean (FreeBSD)
6.yum install MySQL-python (Linux Fedora, CentOS …)
未解决
sudo apt-get install libmysqlclient-dev
未解决
pip install mysqlclient
解决了!!
脚踏实地 慢慢走