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

时间:2023-03-09 04:54:33
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