MacOS – only have pip3 but no pip

command linemacospython

I installed python3 from www.python.org(not thru brew). I found that I did not have pip then, only pip3. As here said https://pip.pypa.io/en/stable/installing/

pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4
downloaded from python.org

So how do I get pip installed ?

Best Answer

If you had python 2.x and then installed python3, your pip will be pointing to pip3. you can verify that by typing pip --version which would be the same as pip3 --version.

On your system, you have now pip, pip2 and pip3.

If you want you can change pip to point to pip2 instead of pip3.

you can either add the alias to your ~/.bashrc

 alias pip=pip3

or add to your $PATH symlink named pip pointing to pip3 binary