Skip to content

Instantly share code, notes, and snippets.

@erikcox
Created August 19, 2014 02:54
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 erikcox/54a6d4c9a4c9e63bebbc to your computer and use it in GitHub Desktop.
Save erikcox/54a6d4c9a4c9e63bebbc to your computer and use it in GitHub Desktop.
pip, virtualenv & virtualenvwrapper
mkvirtualenv [ENV_NAME] # creates and activates a fresh virtual environment
rmvirtualenv [ENV_NAME] # removes virtual environment
workon [ENV_NAME] # activates an already-created virtual environment
deactivate # deactivates the virtual environment that is currently active
# within an activated virtualenv
pip install [PACKAGE_NAME] #installs a package into the virtualenv
pip freeze # lists the packages that is installed & accessible within the virtualenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment