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
本文转自aaron428 51CTO博客,原文链接:http://blog.51cto.com/aaronsa/1740637,如需转载请自行联系原作者