“pip command not found” Error Solution Pip and Pip3 For Linux, Debian, Ubuntu, CentOS, Mint

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/pip-command-not-found-error-solution-for-linux-debianubuntu-centos-mint/
PINTEREST
PINTEREST
INSTAGRAM

Linux and Opensource world mainly uses package management software for installing, updating and removing software. Python is using pip or pip3 for Python package management. pip is Python2 package manager where pip3 is Python3 package manager.

“pip command not found” Problem

We will get an error like pip command not found when we try to run pip  or pip3 like below.

"pip command not found" Problem for Python2
“pip command not found” Problem for Python2

OR

"pip command not found" Problem for Python3
“pip command not found” Problem for Python3

Install pip Package For Python2 In Ubuntu, Debian, Mint, Kali

We will install Python2 pip package for deb based distributions like be Ubuntu, Debian, Mint and Kali. We can use this command for other deb based distributions as well.

Install pip Package For Python2 In Ubuntu, Debian, Mint, Kali
Install pip Package For Python2 In Ubuntu, Debian, Mint, Kali

Install pip Package For Python2 In CentOS, RHEL, Fedora

We will install Python2 pip package for rpm based distributions like Fedora, CentOS, RHEL. We will install with the following command.

Install pip Package For Python2 In CentOS, RHEL, Fedora
Install pip Package For Python2 In CentOS, RHEL, Fedora

Install pip3 Package For Python3 In Ubuntu, Debian, Mint, Kali

We will install Python3 pip package for deb based distributions like be Ubuntu, Debian, Mint and Kali. We can use this command for other deb based distributions as well.

Install pip Package For Python2 In CentOS, RHEL, Fedora

We will install Python3 pip package for rpm based distributions like Fedora, CentOS, RHEL. We will install with the following command.

Install with easy_install

We can also use Python provided installation tool named easy_install . We will run following command.But easy_install is provided by python-setuptools

OR

LEARN MORE  Python Command Line Arguments with sys.argv

Print Pip2 and Pip3 Version

After installation we may need to get version information about the pip or pip3 or pip2 . We can use --version option to print detailed version and site-packages path.

Print Pip2 and Pip3 Version
Print Pip2 and Pip3 Version

 

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/pip-command-not-found-error-solution-for-linux-debianubuntu-centos-mint/
PINTEREST
PINTEREST
INSTAGRAM