title: Virtualenv Command Not Found
body: <p>I couldn't get <code>virtualenv</code> to work despite various attempts. I installed <code>virtualenv</code> on MAC OS X using:</p>
  
  <pre><code>pip install virtualenv
  </code></pre>
  
  <p>and have also added the <code>PATH</code> into my <code>.bash_profile</code>. Every time I try to run the <code>virtualenv</code> command, it returns:</p>
  
  <pre><code>-bash: virtualenv: command not found
  </code></pre>
  
  <p>Every time I run <code>pip install virtualenv</code>, it returns:</p>
  
  <pre><code>Requirement already satisfied (use --upgrade to upgrade): virtualenv in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
  </code></pre>
  
  <p>I understand that in mac, the <code>virtualenv</code> should be correctly installed in </p>
  
  <pre><code>/usr/local/bin
  </code></pre>
  
  <p>The <code>virtualenv</code> is indeed installed in <code>/usr/local/bin</code>, but whenever I try to run the <code>virtualenv</code> command, the command is not found. I've also tried to run the <code>virtualenv</code> command in the directory <code>/usr/local/bin</code>, and it gives me the same result: </p>
  
  <pre><code>-bash: virtualenv: command not found
  </code></pre>
  
  <p>These are the PATHs I added to my .bash_profile</p>
  
  <pre><code>export PATH=$PATH:/usr/local/bin
  export PATH=$PATH:/usr/local/bin/python
  export PATH=$PATH:/Library/Framework/Python.framework/Version/2.7/lib/site-packages
  </code></pre>
  
  <p>Any workarounds for this? Why is this the case? </p>