virtualenv

Latest version on PyPI PyPI - Implementation PyPI - Python Version Documentation status Discord PyPI - Downloads PyPI - License Open issues Open pull requests Package popularity

virtualenv is a tool to create isolated Python environments. Since Python 3.3, a subset of it has been integrated into the standard library under the venv module. For how virtualenv compares to the stdlib venv module, see Explanation.

Quick navigation

Tutorials - Learn by doing

  • Getting started — Create your first virtual environment and learn the basic workflow

How-to guides - Solve specific problems

  • Install virtualenv — Install virtualenv on your system

  • Use virtualenv — Select Python versions, activate environments, configure defaults, and use from Python code

Reference - Technical information

  • Compatibility — Supported Python versions and operating systems

  • Command line — Command line options and flags

  • Python — Programmatic Python API reference

Explanation - Understand the concepts

  • Explanation — How virtualenv works under the hood and why it exists

Extensions

  • Plugins — Extend virtualenv with custom creators, seeders, and activators

External resources

Learn more about virtualenv from these community resources: