Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

How do I remove/delete a virtualenv?

Asked by Murakami Tanaka May 27, 2024 15.4K views 2 answers
Share

About this question

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 an 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.

Your answer

2 Answers

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.