What is a virtual environment?
Modules, packages, and imports
Audio flashcard · 0:15Nortren·
What is a virtual environment?
0:15
A virtual environment is an isolated Python installation with its own packages, separate from the system Python. It prevents conflicts between projects that need different versions of the same library. The venv module is built into Python; uv and virtualenv are popular alternative tools.
docs.python.org