apt-get install python-dev
pip install mysql-python
http://www.cnblogs.com/xiazh/archive/2012/12/12/2814289.html
mysql-python安装时EnvironmentError: mysql_config not found
apt-get install libmysqlclient-dev
如果出错,那么 apt-get install default-libmysqlclient-dev
python
import MySQLdb