If you’re like most Python developers, you probably have a few virtual environments (VEs) set up for different projects. Maybe you have a development VE for your project code, a test VE for running your tests, and maybe even a production VE for deploying to production. Deleting a VE can be tricky, but it’s not too hard if you know what to do. First, make sure that the virtual environment is actually empty. If there are any files in the directory where the virtual environment is stored, delete them first. Next, use the pydev command line tool to delete the virtual environment: pydev -D DEV_NAME If there are any files in the directory where the virtual environment is stored that aren’t related to the DEV_NAME virtual environment (for example, if you have another development or test environment set up), then you’ll need to use the rm command instead of pydev . For example: rm -rf DEV_NAME ..