【centos】 error: command 'gcc' failed with exit status 1
用安裝Python模塊出現(xiàn)error: command 'gcc' failed with exit status 1 渔伯,明明裝了gcc的呀页,怎么會不行呢肚吏,然后發(fā)覺是failed不是not found露氮,這說明這個錯誤個gcc沒多大關(guān)系,應(yīng)該是缺少某些功能模塊逸吵,然后谷歌了一下抄课,先后安裝了python-devel,libffi-devel后還是不行,最后發(fā)覺要安裝openssl-devel才行
可如下命令行安裝:
yum install gcc libffi-devel python-devel openssl-devel