remove virtual environment created with venv in python3

McLawrence picture McLawrence · May 24, 2017 · Viewed 71.4k times · Source

How can I delete a virtual environement created with

python3 -m venv <name>

Can I just remove the directory?

This seems like a question googling should easily answer, but I only found answers for deleting environments created with virtualenv or pyvenv.

Answer

gonczor picture gonczor · May 24, 2017

Yes, delete the directory. it's where executables for the venv and modules and libraries and entire other stuff for venvs is kept.