【linux】centos 安装 python-pip

来源:互联网 发布:软妹小九九淘宝店名字 编辑:程序博客网 时间:2024/05/23 20:50

安装django时候 发现 yum install python-pip 的时候没有该软件包
这是因为像centos这类衍生出来的发行版,他们的源有时候内容更新的比较滞后,或者说有时候一些扩展的源根本就没有。

所以在使用yum来search python-pip的时候,会说没有找到该软件包。因此为了能够安装这些包,需要先安装扩展源EPEL。

EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。

首先安装epel扩展源:

sudo yum install epel-release

在安装 python-pip

sudo yum install python-pip
0 0
原创粉丝点击