Tratto dal sito ufficiale di Python (
https://docs.python.org/3/library/venv.html):
"
The venv module provides support for creating lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Each virtual environment has its own Python binary (which matches the version of the binary that was used to create this environment) and can have its own independent set of installed Python packages in its site directories.
See PEP 405 for more information about Python virtual environments."
In soldoni, ti permette di sviluppare applicazioni Python che usano librerie o versioni di interprete diverse tra loro senza dover per forza disinstallare e reinstallare ogni volta che devi sviluppare un'applicazione diversa.
Alla pagina
Installing packages using pip and virtual environments trovi tutte le informazioni necessarie a creare un ambiente virtuale.