Skip to content

Instantly share code, notes, and snippets.

@cjdd3b
Last active April 26, 2016 17:00
Show Gist options
  • Save cjdd3b/f1ef7e6bfd2303ea556251c50be5d2dc to your computer and use it in GitHub Desktop.
Save cjdd3b/f1ef7e6bfd2303ea556251c50be5d2dc to your computer and use it in GitHub Desktop.
Virtual environment configuration instrux
sudo pip install virtualenvwrapper
export WORKON_HOME=~/Envs
mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
echo 'export WORKON_HOME=$HOME/Envs; source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bash_profile
mkvirtualenv dataj
pip install jupyter
pip install agate
pip install WHATEVER_ELSE
@cjdd3b
Copy link
Author

cjdd3b commented Apr 22, 2016

To create a new virtualenv, type export WORKON_HOME=~/Envs; mkvirtualenv NAME_OF_ENVIRONMENT
To use an existing environment, type export WORKON_HOME=~/Envs; workon NAME_OF_ENVIRONMENT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment