安装python-MySQLdb 出现error: command 'gcc' failed with exit status 1的解决方法

 >>> yum install MySQL-p*

>>>yum install python-devel

>>>cd MySQL-python-1.2.3

>>> python setup.py build
>>> python setup.py install

posted @ 2014-04-05 21:36  上帝爱编程  阅读(761)  评论(0编辑  收藏  举报