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!