Skip to content

Instantly share code, notes, and snippets.

@hagsteel
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hagsteel/80d0cbcadfb05bf7cec9 to your computer and use it in GitHub Desktop.
Save hagsteel/80d0cbcadfb05bf7cec9 to your computer and use it in GitHub Desktop.
# Installing virtualenv and virtualenvwrapper
1. `sudo pip install virtualenv virtualenvwrapper`
2. `vim ~/.bash_profile`
then add the following to your bash profile:
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Dev
source /usr/local/bin/virtualenvwrapper.sh
3. Close down the terminal and start it again (so everything from .bash_profile is loaded)
4. start a new terminal and run
mkvirtualenv <name of your project>
5. pip install swampdragon
Now ever time you want to work on that project, you just type the following in a terminal:
workon <name of your project>
This way you can install different versions of packages, and not have to deal with any conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment