首页 > 技术文章 > [转载]解决"command 'gcc' failed with exit status 1"错误问题

workingdiary 2019-03-12 09:26 原文

转自:https://blog.csdn.net/learn_tech/article/details/80066583

解决"command 'gcc' failed with exit status 1"错误问题

转载地址:http://www.laozuo.org/10700.html

 

在用pip安装Python库软件的时候遇到"command 'gcc' failed with exit status 1"错误问题,看似缺少gcc组件,但是确实在安装之前有执行过yum安装gcc,但是还是有这样的问题,于是找呀找看到有网友提到缺少openssl-devel支持。

解决方法:

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

执行完毕之后,再回到之前执行的pip安装python库命令,执行后没有看到错误提示。

 

看来问题解决。

推荐阅读