# 背景
Recently encountered with error while installing mysql-python on linux
# 错误信息
String from Error:
“Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/MySQL-python”
# 解决办法
Soultion:
sudo apt-get install libmysqlclient-dev[
After installing libmysqlclient-dev
sudo pip install mysql-python
# END
Thanks!