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. It creates an environment that has its own installation directories, that doesn’t share libraries with other virtualenv environments (and optionally doesn’t access the globally installed libraries either). The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these libraries? If you install everything into your host python (e.g. python3.8) it’s easy to end up in a situation where two packages have conflicting requirements.

Features

  • Create isolated Python environments
  • Integrated into the standard library under the venv module
  • Create an environment that has its own installation directories
  • Doesn’t share libraries with other virtualenv environments
  • Doesn’t access the globally installed libraries

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

MIT License

Follow virtualenv

virtualenv Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of virtualenv!

Additional Project Details

Programming Language

Python

Related Categories

Python Build Tools

Registered

2022-01-28