← Quiz: Modules and Libraries: all 14 questions
Quiz: Modules and Libraries · Question 13 of 14
What is the main reason to use a virtual environment?
What is the main reason to use a virtual environment?
- A.It makes Python run faster
- B.It is needed to run any Python file
- C.Each project gets its own installed packages and versions, without clashing with other projects
- D.It hides your code from other users
Answer & explanation
Correct answer: Each project gets its own installed packages and versions, without clashing with other projects
Project A can use one version of a library and project B another.
Can you get the rest right without peeking?
Take the timed Quiz: Modules and Libraries quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →