Renaming virtualenvwrapper environment names

Tadashi Shigeoka ·  Thu, August 8, 2019

Here’s how to rename virtualenvwrapper environment names.

Python

I thought it would be nice if there was a command like mvvirtualenv similar to the mv command, but it doesn’t seem to exist.

So I had to combine cpvirtualenv and rmvirtualenv commands to change the virtualenvwrapper environment name as follows:

cpvirtualenv oldenv newenv
rmvirtualenv oldenv

That’s all from the Gemba.

References