title: How to add virtualenv to path
body: <p>I am trying to find out why my <code>virtualenv</code> and/or <code>virtualenv</code> wrapper - installed using <code>pip</code> using <code>homebrew</code> - cannot be found. I think it's because it's not added to my PATH:</p>
  
  <pre><code>$ which virtualenv
  $ 
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>$ virtualenv someDir
  $ -bash: virtualenv: command not found
  </code></pre>
  
  <p>I installed pip using <code>homebrew</code>, and <code>virtualenv</code> using <code>pip</code>, without problems. I tried reinstalling <code>virtualenv</code>, but that did not work either.
  How do I know what path to add to <code>PATH</code>? Just the path that <code>virtualenv.py</code> seems to be installed into? That seems to be:</p>
  
  <pre><code>/usr/local/lib/python2.7/site-packages/virtualenv.py
  </code></pre>
  
  <p>I also found <a href="http://youshoulddoityourself.blogspot.nl/2010/11/test.html" rel="noreferrer">this guide</a>, which suggests this: </p>
  
  <pre><code>$ ln -s ../Cellar/python/2.7/Frameworks/Python.framework/Versions/2.7/bin/virtualenv virtualenv
  </code></pre>
  
  <p>However, it does not help me run <code>virtualenv</code>. I am on Mac OSX 10.7.5 (Lion).</p>