Bypass confirmation prompt for pip uninstall

starting with pip version 7.1.2 you can run pip uninstall -y <python package(s)>

pip uninstall -y package1 package2 package3

or from file

pip uninstall -y -r requirements.txt

Leave a Comment