title: Pip packages not found - Brewed Python
body: <p>Running Python 2.7.3, installed with HomeBrew, on a mac.</p>
  
  <p>Installed several packages using PIP, including virtualenv. (Using virtualenv as an example, but NONE of the packages work.)</p>
  
  <p>When I try to run them in terminal, it fails as follows: </p>
  
  <pre><code>$ virtualenv venv --distribute
  -bash: virtualenv: command not found
  </code></pre>
  
  <p>Alternatively: </p>
  
  <pre><code>$ python virtualenv.py venv
  /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'virtualenv.py': [Errno 2] No such file or directory
  </code></pre>
  
  <p>A few other points that may help:</p>
  
  <pre><code>$ which python
  /usr/local/bin/python
  $ pip freeze
  MySQL-python==1.2.4
  ...
  virtualenv==1.8.4
  $ echo $PATH
  /usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
  $ echo $PYTHONPATH
  /usr/local/lib/python2.7/site-packages:
  </code></pre>
  
  <p>By default, the $PYTHONPATH was blank, I changed it in .bash_profile (didn't help). VirtualEnv does exist at that path.
  I also tried adding this path to the .profile $path, but that didn't help either, so I removed it.</p>
  
  <p>On the <a href="https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python">HomeBrew Python page</a> it seems to somewhat relate to this, but I am new to Python, and can't figure it out. Have spent some hours DuckDuckGo'ing with nothing gained.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>EDIT: Updated to reflect actual usage. </p>