美文网首页Python
【centos】 error: command 'gcc

【centos】 error: command 'gcc

作者: kyrin28 | 来源:发表于2017-07-10 14:06 被阅读163次

【centos】 error: command 'gcc' failed with exit status 1

用安装Python模块出现error: command 'gcc' failed with exit status 1 ,明明装了gcc的,怎么会不行呢,然后发觉是failed不是not found,这说明这个错误个gcc没多大关系,应该是缺少某些功能模块,然后谷歌了一下,先后安装了python-devel,libffi-devel后还是不行,最后发觉要安装openssl-devel才行
可如下命令行安装:

yum install gcc libffi-devel python-devel openssl-devel

相关文章

网友评论

    本文标题:【centos】 error: command 'gcc

    本文链接:https://www.haomeiwen.com/subject/btgyhxtx.html