I am trying to install VirtualEnv on my Mac. I have installed Python and Pip with brew. After running pip install virtualenv When I try to use it I am getting:
bash: "virtualenv: command not found"
I am unsure where virtualenv has been installed. My PATH environment variable contains:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/X11/bin
I am using: Mac Os 10.7.5
I experienced a similar issue.
What you need to do is to add the pathname of where the package was installed to your .profile file. Look to see where the virtualenv package was installed into - in my case it was /Users/ianloke/Library/Python/2.7/bin. Then append this pathname to the PATH environment variable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With