python中的一个十分好用的包管理工具python-pip是我们使用python必不可少的一件工具。但是在CentOS7安装时候却遇到了一些小问题:
[root@luna magic]
# yum install python-pip
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
没有可用软件包 python-pip。
错误:无须任何处理
查阅资料以后,原来是因为CentOS官方的源有些时候滞后导致的。所以我们可以用fedora社区打造的EPEL(http://fedoraproject.org/wiki/EPEL)来进行安装:
安装:sudo yum -y install epel-release
安装:sudo yum -y install python-pip
完美解决