CentOS安装pip时失败:
[root@localhost ~]# yum -y install pip
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
mongodb-org-3.4 | 2.5 kB 00:00:00
nodesource | 2.5 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/2): nodesource/x86_64/primary_db | 35 kB 00:00:00
(2/2): extras/7/x86_64/primary_db | 215 kB 00:00:00
Determining fastest mirrors
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
No package pip available.
Error: Nothing to do
先安装扩展源EPEL
yum -y install epel-release
yum -y install python-pip