Install python-pip on centos7

Source: Internet
Author: User
When installing python-pip using the centos7 package manager yum, an error is reported: Nopackagepython-pipavailable.Error: Nothingtodo says no python-pip package can be installed. This is because the release versions derived from centos sometimes lag behind in content updates, or sometimes

When installing python-pip using the centos7 software package management program yum, an error is reported:

 

No package python-pip available.Error: Nothing to do
No python-pip package can be installed.

 

This is because the distribution versions derived from centos sometimes lag behind in content updates, or sometimes some extended source sources do not.

Therefore, when using yum to search python-pip, it is said that the software package was not found. Therefore, to install these packages, you must first install the extended source EPEL.

EPEL (http://fedoraproject.org/wiki/EPEL) is a program built by the Fedora community to provide high-quality software packages for RHEL and derivative releases such as CentOS and Scientific Linux.

First install the epel extension Source:

 

sudo yum -y install epel-release
Then install python-pip

 

 

sudo yum -y install python-pip
After installation, do not forget to clear the cache

 

 

sudo yum clean all
Get it done, close the job!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.