pip uninstall


pip uninstall [options] <package> ...
pip uninstall [options] -r <requirements file> ...


Uninstall packages.

pip is able to uninstall most installed packages. Known exceptions are:

  • Pure distutils packages installed with python setup.py install, which leave behind no metadata to determine what files were installed.
  • Script wrappers installed by python setup.py develop.


-r, --requirement <file>

Uninstall all the packages listed in the given requirements file. This option can be used multiple times.

-y, --yes

Don’t ask for confirmation of uninstall deletions.


  1. Uninstall a package.
$ pip uninstall simplejson
Uninstalling simplejson:
Proceed (y/n)? y
  Successfully uninstalled simplejson