首先需要安装epel-release拓展源
pip对应的python2.7 pip3ui应的python3.x
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