Python 安装出错:Setup script exited with error: command 'gcc' failed with exit status 1

 

退出当前环境:

logout (再重新登录进去)

yum install python-devel  -y
yum install libevent-devel  -y

把环境更新下
yum install groupinstall 'development tools'  -y

posted @ 2018-11-15 16:37  开始认识  阅读(2296)  评论(0编辑  收藏  举报