Yum Error: Unable to find a match: python-pip [Fix]

Updated on May 1, 2022

Question: This is Yashikha again and thanks for helping me out with the previous issue. Now I am stuck with another error while trying to install python-pip via the yum command. Following is the complete error message.

# yum install python-pip
Extra Packages for Enterprise Linux 8 - Next - x86_64 106 kB/s | 206 kB 00:01
No match for argument: python-pip
Error: Unable to find a match: python-pip

I did configure the EPEL repo before installing python-pip.

# yum --enablerepo=extras install epel-release
:::::::::
Upgraded:
epel-release-8-15.el8.noarch
Installed:
epel-next-release-8-15.el8.noarch
Complete!

What could be the issue?

Solution: Fix Unable to find a match: python-pip

Yashikha, the reason why you couldn’t find python-pip in the EPEL repo might be because it may not be called python-pip anymore. To find the exact name of the package, run the below command.

# yum info python*-pip


Available Packages
Name : python3-pip
Arch : noarch
Version : 9.0.3
Release : 8.el7
Size : 1.6 M
Repo : base/7/x86_64
Summary : A tool for installing and managing Python3 packages
URL : http://www.pip-installer.org
License : MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0
: and (ASL 2.0 or BSD)
Description : pip is a package management system used to install and manage
: software packages written in Python. Many packages can be found in
: the Python Package Index (PyPI). pip is a recursive acronym that
: can stand for either "Pip Installs Packages" or "Pip Installs
: Python".

Name : python34-pip
Arch : noarch
Version : 8.1.2
Release : 14.el7
Size : 1.7 M
Repo : epel/x86_64
Summary : A tool for installing and managing Python3 packages
URL : http://www.pip-installer.org
License : MIT and BSD and ASL 2.0 and ISC and Python and (ASL 2.0 or BSD)
: and LGPLv2+
Description : Pip is a replacement for easy_install. It uses mostly the
: same techniques for finding packages, so packages that were made
: easy_installable should be pip-installable as well.

Now you get to know the exact package name. Install it as below:

# yum install python3-pip

Was this article helpful?

Related Articles

Leave a Comment