Skip to content

Instantly share code, notes, and snippets.

@WillieYang
Last active September 16, 2017 09:32
Show Gist options
  • Save WillieYang/5755020354c3b72cacdb53193904d0ab to your computer and use it in GitHub Desktop.
Save WillieYang/5755020354c3b72cacdb53193904d0ab to your computer and use it in GitHub Desktop.
How to use virtualenv as a portable environment for python
// 1. Create a env:
virtualenv [Directory Name for placing the new virtal environment]
// 2. Activate the env:
source bin/activate
// 3. Deactivate:
deactivate
// 4. Check the package use of environment:
which [package name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment