Virtual Environment

A self-contained directory tree that contains a Python installation for a particular version of Python, plus a number of additional packages.

Creating Virtual Environment

The module used to create and manage virtual environments is called venv.

Python3 -m venv tutorial-env

Activating Virtual Environment

tutorial-env\Scripts\activate.bat
source tutorial-env/bin/activate

Virtual Environment — Structure map

Clickable & Draggable!

Virtual Environment — Related pages: