首先通过yum search python看是否有python3的包,
然后再通过yum install python36的命令安装
配置pip国内源
mkdir -p ~/.pip vi ~/.pip/pip.conf
添加以下内容
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host=pypi.tuna.tsinghua.edu.cn
升级pip
pip3 install --upgrade pip
标签:cn,Centos,yum,install,edu,pip,python3 From: https://www.cnblogs.com/lxqtest/p/17681454.html