Last active
August 29, 2015 14:10
-
-
Save hagsteel/80d0cbcadfb05bf7cec9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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