Created
September 2, 2019 07:11
-
-
Save NimzyMaina/f7e8e46a237bd00e22764b9d251eef09 to your computer and use it in GitHub Desktop.
Virtual Env Commands
This file contains hidden or 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
## Make virtual ENV | |
mkvirtualenv test | |
## Make virtual ENV in current DIR | |
mkvirtualenv -a $(pwd) test | |
## Make virtual ENV with Python version | |
mkvirtualenv -a $(pwd) python=python3 test | |
## Set project dir | |
## cd to desired project dir & run command | |
setvirtualenvproject | |
## Exit from ENV | |
deactivate | |
## Remove Virtual ENV | |
rmvirtualenv test | |
## Active ENV | |
workon test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment