title: How to make pip install python modules in my current python2.7 installation on mac (instead of 2.6)?
body: <p>I've got a mac on which I installed python using macports. I like it this way because I could manually install numpy, scipy etc. without needing to mess with pre-built packages like enthought. I now wanted to install web.py, but after trying to install it through both easy_install and pip, I can't import it on the interactive python command line.
  When installing it, it also says: Installed /Library/Python/2.6/site-packages/web.py-0.37-py2.6.egg while it says the following when I type 'python': Python 2.7.3 (default, Oct 22 2012, 06:12:28) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin</p>
  
  <p>When I type 'which python' I get: /opt/local/bin/python</p>
  
  <p>So my question is: how to make easy_install and/or pip install modules in the python installation which I enter when I simply type 'python' on the command line?</p>