This lesson introduces you to virtual environments or virtual envs. You learned that virtual environments are isolated Python environments that contain all the packages and dependencies required to run a Python project. Virtual environments keep dependencies separated by project and because of that, they allow you to use different versions of Python or third party libraries in each project you work on.
Take the Quiz: Test your knowledge with our interactive “Python Virtual Environments: A Primer” quiz. Upon completion you will receive a score so you can track your learning progress over time: