I have two version of Python in my Linux system /usr/bin/python2.6 /usr/local/bin/python2.7
I want to install pip under python2.7 but it is getting automatically installed under /usr/lib/python2.6/site-packages instead of /usr/local/lib/python2.7/site-packages.
**[root@sandbox site-packages]# which pip
/usr/bin/pip
[root@sandbox site-packages]# pip -V
pip 7.1.0 from /usr/lib/python2.6/site-packages (python 2.6)**
I think there is some issue with two version of python present in Linux. How can i forcibly install pip under python2.7 ?
Can someone help me resolve this ?