Use pip freeze to retrieve the list of pip installs and uninstall it. Please note that it will be uninstalled without confirmation.
pip freeze | xargs pip uninstall -y
If you have installed with -e yourself, insert invert grep.
pip freeze | grep -v "\-e" | xargs pip uninstall -y
You will have to manually delete the modules you put in yourself ...
Recommended Posts