Issue
I installed virtualwrapper using the instruction, i.e. after installing via sudo pip install virtualenvwrapper
, I got
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Documents/Devel
source /usr/.local/bin/virtualenvwrapper.sh
listed in my ~/.zshrc
and ~/.profile
file, which I then sourced.
Then I created a virtual environment using virtualenv env
in a folder. But when I run lsvirtualenv
, nothing shows up. No message, just another $
promt.
Why doesn't it show the newly created environment env
?
Solution
lsvirtualenv
lists only virtual environments created in $WORKON_HOME
using mkvirtualenv
. Environments created elsewhere with virtualenv
cannot be listed.
Once you started to use virtualenvwrapper
you should constrain yourself with its commands without resorting back to virtualenv
.
Answered By - phd Answer Checked By - Pedro (WPSolving Volunteer)