I created an environment with the following command: virtualenv venv --distribute
I cannot remove it with the following command: rmvirtualenv venv
-
This is part of virtualenvwrapper as mentioned in answer below for virtualenvwrapper
I do an ls
on my current directory and I still see venv
The only way I can remove it seems to be: sudo rm -rf venv
Note that the environment is not active. I'm running Ubuntu 11.10. Any ideas? I've tried rebooting my system to no avail.
rmvirtualenv
comes with virtualenvwrapper. You need that installed to make it work.$ virtualenv --clear path_to_my_venv
. I use this from time to time to make sure I don't have anything manually installed, like an old dependency no longer inrequirements.txt
.sudo
should not be necessary under normal circumstances. The whole point of a virtual environment is that you can manipulate it using your regular user account.