What is the name of the Python tool for creating isolated virtual environments introduced in Python 3.3?

The story behind the answer

The Python tool for creating isolated virtual environments introduced in Python 3.3 is venv.

The venv module was added through PEP 405 and became part of Python’s standard library in Python 3.3, released on September 29, 2012. It creates a lightweight environment with its own interpreter links and site-packages directory, allowing projects to use different dependency versions without altering the system installation.

A common mix-up is virtualenv, the older third-party package that inspired venv. The two tools serve a similar purpose, but virtualenv is external while venv is built into modern Python. Another confusing name is pyvenv: it was the command-line utility associated with Python 3.3 and 3.4, but it was deprecated in Python 3.6. Today, the standard command is usually python -m venv environment_name.

pip is also not the environment creator. It installs packages into whichever environment is currently active, while venv establishes the isolated directory and Python context first.

Source: Wikipedia · fact-checked Aug. 2026

Add question to a list

Choose a list to keep this question in: