How to uninstall all python packages installed by pip on Windows

Use the following command in cmd on Windows to remove all packages installed by pip −

pip freeze > unins && pip uninstall -y -r unins && del unins

Comments