最近一些朋友发现centos7中python-pip模块不存在!如何解决?今天小编为大家带来的是解决centos7中python-pip模块不存在的方法,有需要的朋友一起去看看吧

Question:

如何解决centos7中python-pip模块不存在?(python中没有pip)  centos7 python pip 第1张

  centos 7中Python-pip模块不存在,是因为像centos这类衍生的发行版,源跟新滞后,或者不存在。即使使用yum去search python-pip也找不到软件包。

Answer::

  为了使用安装滞后或源中不存在的安装包,需要安装扩展源EPEL。扩展源EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、ScientificLinux 等提供高质量软件包的项目。

  安装扩展源:sudo yum -y install epel-release

  安装python-pip模块:sudo yum install python-pip

转载请说明出处
知优网 » 如何解决centos7中python-pip模块不存在?(python中没有pip)

发表评论

您需要后才能发表评论