Error "virtualenv : command not found" but install location is in PYTHONPATH
<p>This has been driving me crazy for the past 2 days.
I installed virtualenv on my Macbook using <code>pip install virtualenv</code>.
But when I try to create a new virtualenv using <code>virtualenv venv</code>, I get the error saying "virtualenv : command not found".</p>

<p>I used <code>pip show virtualenv</code> and the location of the installation is "Location: /usr/local/lib/python2.7/site-packages" but I can't figure out where the executable is. I tried dozens other similar looking posts but those solutions do not work for me.</p>

<p>Any ideas what might be going wrong here?</p>