Hi, I’m trying to install ‘pip’ for Python on Mac OS. I downloaded python 3 latest version and created an alias python=‘python3’ on bash profile of the terminal of my computer.
I followed the instructions on how to install pip:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
AND GAME ME THIS OUTPUT:
paolo@Mac-Air-Davide ~ % curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1841k 100 1841k 0 0 7220k 0 --:–:-- --:–:-- --:–:-- 7277k
paolo@Mac-Air-Davide ~ % python get-pip.py
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Downloading pip-20.2.3-py2.py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 9.2 MB/s
Installing collected packages: pip
WARNING: The scripts pip, pip2 and pip2.7 are installed in ‘/Users/paolo/Library/Python/2.7/bin’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-20.2.3
paolo@Mac-Air-Davide ~ % pip --version
zsh: command not found: pip
WHY DID IT INSTALL ON PYTHON 2 VERSION AND NOT 3??
HOW CAN I REMOVE IT AND SAVE IT ON PYTHON 3 INSTEAD??