Last active
June 4, 2019 06:28
-
-
Save sudoxx2/ab9e4c4457e1c8e58666c1a5a3bd11b7 to your computer and use it in GitHub Desktop.
Fourth Step: Creating our virtual environment
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
# This command will install virtualenv | |
pip install virtualenv | |
# This command will create our virtual env with python3 installed | |
virtualenv -p python3 env | |
# ONLY RUN THIS COMMAND if you get an error from the above command(windows users issue perhaps) | |
virtualenv -p python env | |
# This command will activate our virtual envirnoment and allow us to work with contained dependencies | |
source env/bin/activate | |
# ONLY RUN THIS COMMAND if the command from above causes error Windows might have this path instead for activating virtual environment | |
source env/Scripts/activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment