$ pip install MySQL-python==1.2.5
报错: EnvironmentError: mysql_config not found
原因是缺少包 libmysqlclient-dev
$ sudo apt-get install libmysqlclient-dev
$ pip install MySQL-python==1.2.5
报错: EnvironmentError: mysql_config not found
原因是缺少包 libmysqlclient-dev
$ sudo apt-get install libmysqlclient-dev