安装有python36的源,centos本来的源没有
# epel源,fedora默认使用的。(需要科学上网貌似)
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
安装python36
yum install python36
安装pip
# 下载get-pip.py
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# 使用python运行脚本
python36 get-pip.py
关于pip3和pip
# 可以这样
python -m pip list | install | uninstall
python3 -m pip list | install | uninstall
# 也可使用链接
ln -s source target(软链接)