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
(vnev) $ deactivate
I would like to know how to go about renaming the environment?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…