Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Virtualenv

How to delete the Virtualenv out of my windows 7 command prompt now?

I was following along with Kenneth Love on Virtualenv using my actual command promp in windows 7. I was just wondering how to reverse the steps and delete it all. Thanks Chris.

2 Answers

Chris Freeman
Chris Freeman
Treehouse Moderator 67,989 Points

If you are still within the virtualenv, you can exit using the command deactivate

If you wish to remove the virtualenv after you've existed, then remove the venv directory (or whatever it was named at creation time).

Thankyou for the information.