Fix Python – How to rename a virtualenv in Python?
I misspelled the name of the virtualenv while initializing it using:
$ virtualenv vnev
I actually intended to create the environment with the name venv.
Having tried to rename the vnev folder to venv, I find that this doesn’t provide much help. The name of the activate environment still renames the old vnev.
$ mv vnev venv
$ . venv/bin/activate