I am not able to install any Python libraries. I am using pip 9.0.1 and python 2.7. I am getting the following error:
pip 9.0.1
python 2.7
EN-NishantS:~
I successfully upgraded Python 3 on macOS v10.13 (High Sierra) using sudo pip3 install --upgrade pip.
sudo pip3 install --upgrade pip
To upgrade the High Sierra version 2.7 I had to use sudo pip2 install --upgrade pip.
sudo pip2 install --upgrade pip