title: how to Install Pip under /usr/local/lib/python2.7/site-packages in Linux
body: <p>I have two version of Python in my Linux system
  /usr/bin/python2.6
  /usr/local/bin/python2.7</p>
  
  <p>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.</p>
  
  <pre><code>**[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)**
  </code></pre>
  
  <p>I think there is some issue with two version of python present in Linux.
  How can i forcibly install pip under python2.7 ?</p>
  
  <p>Can someone help me resolve this  ?</p>