centos7下安装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
解决方法:
需要先安装扩展源EPEL。
EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。
首先安装epel扩展源:
yum -y install epel-release
然后再安装pip
[root@bogon~]# yum -y install python-pip
本文介绍了在CentOS7环境下安装pip的过程。由于直接使用yum命令安装pip会遇到找不到包的问题,文章给出了解决方案:首先安装EPEL扩展源,再通过yum命令安装pip。EPEL是由Fedora社区为RHEL及其衍生系统提供的高质量软件包。
502

被折叠的 条评论
为什么被折叠?



