---

How to create virtual environments in Python 3 with venv module

A Python virtual environment allows you to create a logically isolated software environment for a particular Python project, and choose a version of Python interpreter as well as install any necessary libraries for the project. The idea is for every project to have its own virtual environment. This means that Python tools installed for different projects within their own virtual environments will not interfere with one another. This tutorial describes how to create virtual environments in Python 3 using the built-in venv module.