Virtualenv "workon" command online working in one terminal tab.

django, virtualenv, virtualenvwrapper

Solution

Have you added the virtualenvwrapper commands to your startup shell file?

For Example, if you're using Terminal on Mac, add the following lines to your ~/.bash_profile:

export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh

http://virtualenvwrapper.readthedocs.org/en/latest/install.html#shell-startup-file

Problem

I'm working on a django project. I hav virtualenv and virtualenvwrapper setup. When I invoke ``` workon myprojectname ``` I cannot invoke it again in another terminal tab or window. Any ideas why? Does it have anything to do with postactivate hooks? I wouldn't think so. Thanks for the help.

Original source