How Do I Solve This Error Message: Error: Virtualenvwrapper Could Not Find Virtualenv In Your Path?
Solution 1:
I had some similar errors, but it was because I installed virtualenv with pip --user virtualenv
and had export PATH="$PATH:~/Library/Python/2.7/bin"
. Something failed to evaluate ~/
, and replacing it with $HOME
fixed things.
Solution 2:
The ERROR: virtualenvwrapper could not find virtualenv in your path has nothing to do with anything but SYSTEM PATH.
so what you need to do is find where your virtualenv is installed in my case it's here ~/.local/bin/virtualenv
because I installed it with pip so all you have to do is find the bin folder where virtualenv is installed and add that PATH to your system path variable. Adding
something like export PATH=$PATH:$HOME/.local/bin
in your .bashrc or .bash_profile should do.
Than all you need is make your shell invoke the fresh changes.
source ~/.bashrc
or source ~/.bash_profile
.
Solution 3:
I discovered why I was unable to get virtualenv to work. I originally installed virtualenv using easy_install. I'm not sure why but easy_install does not properly install virtualenv. I then reinstalled virtualenv using pip. The pip install was successful and I am now able to run the mkvirtualenv --no-site-packages goose command successfully. Thanks, George
Solution 4:
For me it was because my python was in a different location
so first go
~ » which python
/usr/bin/python
then put that path in our .bachrc
using this export e.g
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python
Solution 5:
In my case I didn't have which installed. Once I installed which it worked.
Post a Comment for "How Do I Solve This Error Message: Error: Virtualenvwrapper Could Not Find Virtualenv In Your Path?"