centos下使用yum 安装pip

1、首先安装epel扩展源:

yum -y install epel-release

2、然后再安装pip

yum -y install python-pip