Last active
September 16, 2017 09:32
-
-
Save WillieYang/5755020354c3b72cacdb53193904d0ab to your computer and use it in GitHub Desktop.
How to use virtualenv as a portable environment for python
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
// 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