Virtual Python Environment Builder (complete rewrite)

pip install virtualenv-rewrite==14.7.0



This is based on the rewrite branch of virtualenv:

What pythons are currently supported in this fork:

  • Python 2.6
  • PyPy
  • PyPy3 (on Windows it doesn't really work cause pip is broken on the 2.4.0 release)
  • Python 2.6
  • Python 2.7
  • Python 3.2 (tested but unsupported, check test results for exact situation)
  • Python 3.3
  • Python 3.4

What's currently tested (on Windows AppVeyor Build Status and Linux CircleCI Build Status Travis-CI Build Status):

  • creation
  • recreation
  • --system-site-packages (incl. ordering of sites)
  • .pth support
  • bin scripts
  • tox integration
  • C extensions compile properly inside

Debian-flavored linuxes are also supported (with their messy patches on

What's missing:

  • No symlinks or hardlinks, just dumb copies.
  • Relocation support (it wasn't really supported in legacy virtualenv anyway).
  • You tell me ...

Try it

Option 1: release from alternate index

The alternate index:

To install:

pip install -i virtualenv

Option 2: development version

pip install --ignore-installed

Option 3: release with different name

There's an alternative package on PyPI: virtualenv-rewrite:

pip install virtualenv-rewrite


If you install it over the legacy virtualenv you may have issues. To keep things simple you should uninstall it before, eg:

pip uninstall virtualenv
pip install virtualenv-rewrite


For the old documentation, see