如果yum install pip执行失败。按如下步骤执行
首先安装epel扩展源:
yum -y install epel-release
然后执行yum --disablerepo=epel -y update ca-certificates
最后执行 yum install python-pip
安装成功