how to install pip for python 2 code example
Example 1: installing pip
python -m pip install --upgrade pip
Example 2: pip install for python 2 and python3
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py
python -m pip install --upgrade pip
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py