问题是mysql-config not found
yum install mysql-devel gcc gcc-devel python-devel
pip install mysql-python
pip install mysqlclient
centos install pip
yum -y install epel-release
yum install mysql-devel gcc gcc-devel python-devel
pip install mysql-python
pip install mysqlclient
yum -y install epel-release
转载于:https://my.oschina.net/u/4118017/blog/3046026