当出现Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-tP2dBH/mysql-python/ 时
可以用下列命令解决
Debian/Ubuntu:
sudo apt-get install libmysqlclient-dev
CentOS:
yum install python-devel mysql-devel
当出现Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-tP2dBH/mysql-python/ 时
可以用下列命令解决
Debian/Ubuntu:
sudo apt-get install libmysqlclient-dev
CentOS:
yum install python-devel mysql-devel