Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What command would you use to create a new virtual environment named 'dev_env'?
Think about how you would name your environment.
Which command allows you to exit an active virtual environment?
Consider what you would type to stop using the environment.
What is the purpose of using virtualenv?
Think about the main problem virtualenv is solving.
True or False: After setting up a project with virtualenv, you can install global packages within that environment.
Consider what 'virtual' means in this context.
You are tasked with working on two different Python projects. One requires Django version 3.0 and the other requires version 2.2. Describe how you would use virtualenv to work on these projects without issues.
Think about how creating environments helps in managing dependencies.
A colleague is facing issues with package conflicts when running their code. They installed multiple packages globally and are unsure how to resolve their issues. How could they use virtualenv to fix this?
Reflect on how isolation helps mitigate these problems.
5 more questions in this section. Enroll free to practise them all.
Enroll free