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,如需轉載請自行聯系原作者