- 更换镜像源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
2.安装python3和pip3
yum install epel-release
yum install python36
curl -O https://bootstrap.pypa.io/get-pip.py
python3.6 get-pip.py
网友评论