error: command 'gcc' failed with exit status 1

来源:互联网 发布:莱恩打碟软件mac安装 编辑:程序博客网 时间:2024/04/28 08:43

我想在CentOS6上为Python安装gevent,结果报错,最后一行是gcc错误

error: command 'gcc' failed with exit status 1

搜索后得到解决办法:

sudo yum -y install python-devel

然后再安装greenlet和gevent,就成功了

0 0
原创粉丝点击