centos下安装pip时失败:
[root@wfm ~]# yum -y install pip Loaded plugins: fastestmirror,refresh-packagekit,security Loading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * extras: mirrors.tuna.tsinghua.edu.cn * updates: mirrors.tuna.tsinghua.edu.cn Setting up Install Process No package pip available. Error: Nothing to do原文链接:https://www.f2er.com/centos/378236.html解决方法:
需要先安装扩展源EPEL。
EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。
首先安装epel扩展源:
然后再安装pipyum -y install epel-release
yum -y install python-pip