pip install安装python依赖包时报错:command 'gcc' failed with exit status 1的解决方案
2021-09-18 16:13 DataBases 阅读(984) 评论(0) 收藏 举报环境:Centos 7 Python 2.7
在安装python依赖包时报错:command 'gcc' failed with exit status 1;
解决方案是:
sudo yum install python-dev
sudo yum install gcc
如果问题还没解决,可以尝试安装如下依赖包:
sudo yum install libffi-devel
sudo yum install openssl-devel
浙公网安备 33010602011771号