pip uninstall everything in venv code example Example: how to uninstall everything in pip pip freeze > requirements.txt pip uninstall -r requirements.txt