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

Posted 扫驴

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos error: command 'gcc' failed with exit status 1相关的知识,希望对你有一定的参考价值。

原文连接http://blog.csdn.net/fenglifeng1987/article/details/38057193  

用安装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 错误

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

centos7 安装mysql--python模块出现EnvironmentError: mysql_config not found和error: command 'gcc' fai

错误:命令“gcc”在 CentOS 上失败,退出状态为 1

Python报错ERROR: Command errored out with exit status 1:

ERROR 1142 (42000): GRANT command denied to user ** 或 ERROR 1045 (28000): Access denied for user