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

  1. Thank you. This helped me to uninstalling all packages on windows 11.

    ReplyDelete

Post a Comment