I\'m trying to create a virtualenv with virtualenvwrapper
, but when I use mkvirtualenv
I get the following :
ERROR: virtualenvwrapper c
virtualenvwrapper
located. in my case ~/.local/bin
May be it's installed in
/usr/local/bin/
It totally depends on the System or Package Manager you are using.
.bashrc
or .zshrc
or whatever by simplyPATH=$PATH:
for example
PATH=$PATH:~/.local/bin
Also add the following configuration in .bashrc
or .zshrc
# the path you want your virtual environments to be saved and loaded from
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/
# most important, this is the program which loads virtualenv
# please update the path where virtualenvwrapper.sh is located
source /usr/local/bin/virtualenvwrapper.sh
Don't Forget to restart the shell.. or reload the configuration...
To test whether it worked
mkvirtualenv test
if you see a test environment created then everything is ok.
For Detailed Installation Instructions go to the docs: virtualenvwrapper installation