use pip for python2 code example
Example: pip install for python 2 and python3
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py