码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-09-05 16:59:32      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:【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' failed with exit status 1

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

原文地址:http://865516915.blog.51cto.com/9037379/1962825

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!