17. Creating a Virtual Environment
Creating a Virtual Environment
In the last video, you saw how to make requests locally after first creating a virtual environment from the terminal in a Cloud9 environment. The next couple quizzes are meant to check your understanding of the steps it takes to create a virtual environment.
If you find yourself unsure of an answer, it may help to read the python documentation for virtual environments.
SOLUTION:
`python3 -m venv ~/mycloud9`SOLUTION:
`source ~/mycloud9/bin/activate`SOLUTION:
1. activate the environment, 2. install any required dependenciesAlternatively, you can use the conda package manager to create and source virtual environments. This may be what you have used if you've ever taken Udacity's Deep Learning program , which has instructions for downloading and using conda (in the main course repository) for environment creation.