title: Install a module using pip for specific python version
body: <p>On Ubuntu 10.04 by default Python 2.6 is installed, then I have installed Python 2.7. How can I use <code>pip install</code> to install packages for Python 2.7.</p>
  
  <p>For example:</p>
  
  <pre><code>pip install beautifulsoup4
  </code></pre>
  
  <p>by default installs BeautifulSoup for Python 2.6</p>
  
  <p>When I do:</p>
  
  <pre><code>import bs4
  </code></pre>
  
  <p>in Python 2.6 it works, but in Python 2.7 it says:</p>
  
  <pre><code>No module named bs4
  </code></pre>