top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is difference between PIP vs PIP3?

0 votes
1,063 views

PIP is package manager for Python. I found someone installing with using PIP3.

Can anyone explain what is PIP3 and difference from PIP?

posted Jul 16, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

When you install python3 , pip3 gets installed. And if you don't have another python installation(like python2.7) then a link is created which points pip to pip3 . So pip is a link to to pip3 if there is no other version of python installed(other than python3). pip generally points to the first installation

Mainly PIP for Python 2.x
PIP3 is for Python 3

answer Jul 26, 2018 by Rahul Chandel
Similar Questions
+2 votes

I want to use (https://github.com/timetric/python-metar). Our deployment process more or less requires that it be installed via pip. We maintain our own cache of packages and install using:

pip install --no-index --quiet --find-links packages --requirement requirements.txt 

What I can't figure out is what I need to do to go from a clone of the github repo to a tarball I can drop into our packages directory. Is there some tutorial somewhere that explains this?

+3 votes

Here is what I have tried:

root@secure [~]# which python3
/usr/bin/python3

root@secure [~]# which pip
/usr/bin/pip

root@secure [~]# yum install pip3
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.secrel.com.br
 * epel: mirror.imt-systems.com
 * extras: centos.secrel.com.br
 * remi: mirror5.layerjet.com
 * updates: mirrors.ucr.ac.cr
Setting up Install Process
No package pip3 available.
Error: Nothing to do
...