Primero necesita instalar la fuente de expansión epel-release
python2.7 correspondiente a pip
python3.x correspondiente a pip3ui
yum -y install epel-release
(1)随后,清空cache,并makecache
yum clear all
yum makecache
(2)安装pip
yum -y install python-pip
(3)升级pip
pip install --upgrade pip