[SOLVED] -current pip and pip3 what's a difference?
by igadoter from LinuxQuestions.org on (#5DM28)
I was sure pip command refers to Python 2.7 version while pip3 to Python 3.x, but it appeared I was wrong
Code:bash-5.1$ pip --version
pip 20.3.3 from /usr/lib64/python3.9/site-packages/pip (python 3.9)
bash-5.1$ pip3 --version
pip 20.3.3 from /usr/lib64/python3.9/site-packages/pip (python 3.9)
bash-5.1$ ls -l `which pip`
-rwxr-xr-x 1 root root 941 Jan 20 23:56 /usr/bin/pip
bash-5.1$ ls -l `which pip3`
-rwxr-xr-x 1 root root 943 Jan 20 23:56 /usr/bin/pip3they are both executable, both refer to Python 3.9, but they even different in size.


Code:bash-5.1$ pip --version
pip 20.3.3 from /usr/lib64/python3.9/site-packages/pip (python 3.9)
bash-5.1$ pip3 --version
pip 20.3.3 from /usr/lib64/python3.9/site-packages/pip (python 3.9)
bash-5.1$ ls -l `which pip`
-rwxr-xr-x 1 root root 941 Jan 20 23:56 /usr/bin/pip
bash-5.1$ ls -l `which pip3`
-rwxr-xr-x 1 root root 943 Jan 20 23:56 /usr/bin/pip3they are both executable, both refer to Python 3.9, but they even different in size.