This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How do you know you're in a virtual environment named env?
env
Run ven isActive in the terminal.
ven isActive
Run venv list environments.
venv list environments
Your console prompt has changed to start with (env) ->.
(env) ->
How would you get a list of installed libraries?
Run pip installed.
pip installed
Run pip freeze.
pip freeze
Open the file requirements.txt.
How would you upgrade a package named "Flask"?
Run pip install Flask.
pip install Flask
Run pip install Flask --upgrade.
pip install Flask --upgrade
Run pip upgrade Flask.
pip upgrade Flask
You must answer all questions before checking your work.
Continue
Was this page helpful?