1. 程式人生 > >【centos】 error: command 'gcc' failed with exit status 1

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

pytho mman comm command get 缺少 命令 ror python

原文連接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