python 2.7 update pip code example
Example 1: how to update pip python
python -m pip install --upgrade pip
Example 2: how to install pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#Once you do that, enter line 3 inside
python get-pip.py