pip install python 2.7 mac code example
Example 1: linux install pip
apt-get install python-pip #python 2
apt-get install python3-pip #python 3
Example 2: pip installer for mac
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
apt-get install python-pip #python 2
apt-get install python3-pip #python 3
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py