I made a virtualenv environment for a project. \"workon projectname\" worked and activated the environment but after I shut down my laptop it starts not working. Could someo
In my case I need to do the following steps (on Mac OS X 10.11):
I added this line:
source "/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh"
to my ~/.bash_profile
And afterwards, following Eric Scrivner instructions, I created a folder at /opt/ called virtual_env using sudo mkdir /opt/virtual_env
And finally, I run the command sudo chown -R youruser /opt/virtual_env
And than: source ~/.bash_profile