Grabware

Windows · Developer Tools

Virtualenv

A tool for creating isolated virtual python environments.

Version 21.14.13 · by Bernat Gabor

Download

Official site: virtualenv.pypa.io

About Virtualenv

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. The venv module does not offer all features of this library, to name just a few more prominent:

- is slower (by not having the app-data seed method),

- is not as extendable,

- cannot create virtual environments for arbitrarily installed python versions (and automatically discover these),

- is not upgrade-able via pip,

- does not have as rich programmatic API (describe virtual environments without creating them).

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.

Or more generally, what if you want to install an application and leave it be? If an application works, any change in its libraries or the versions of those libraries can break the application. Also, what if you can’t install packages into the global site-packages directory, due to not having permissions to change the host python environment?

In all these cases, virtualenv can help you. 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).

How to install Virtualenv

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Chocolatey you can install and update it with: choco install virtualenv
  4. Open Virtualenv once it finishes installing.
How to install Windows software with Chocolatey

Frequently asked questions

Is Virtualenv free to download?

Yes. The Download button sends you to virtualenv.pypa.io, the developer's official site, where Virtualenv is available to download. Grabware doesn't host or modify any files.

What is the latest version of Virtualenv?

The version listed here is 21.14.13, published /Date(1792. The developer's site always has the newest release.

How do I install Virtualenv from the command line?

With Chocolatey, run: choco install virtualenv. This installs it from the official source and keeps it updated.

Is Virtualenv safe?

Virtualenv downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to Virtualenv

More