pip install MySQL-python
1.error: command 'gcc' failed with exit status 1 的解决办法
yum install gcc python-devel
2.error: command 'gcc' failed with exit status 1
解决方法:yum -y install mysql-devel libxml2 libxml2-dev libxslt* zlib gcc openssl
转载于:https://blog.51cto.com/aaronsa/1740637