pip 3 using python2 code example
Example 1: python3 pip install
[server]$ python3 -m pip install
Example 2: pip install for python 2 and python3
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py
[server]$ python3 -m pip install
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py