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

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

 

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

[转载]解决"command 'gcc' failed with exit status 1"错误问题

解决方法:

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

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

 

看来问题解决。

相关文章:

  • 2021-11-05
  • 2021-05-19
  • 2021-05-22
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-17
  • 2022-02-28
  • 2022-12-23
  • 2021-04-27
相关资源
相似解决方案