1、安装 epel-release yum -y install epel-release 2、安装 python-pip yum -y install python-pip 3、查看 pip 版本 pip --version 4、升级 pip pip install --upgrade pip