1PIP-UNINSTALL(1) pip PIP-UNINSTALL(1)
2
3
4
6 pip-uninstall - description of pip uninstall command
7
9 Uninstall packages.
10
11 pip is able to uninstall most installed packages. Known exceptions are:
12
13 • Pure distutils packages installed with python setup.py install, which
14 leave behind no metadata to determine what files were installed.
15
16 • Script wrappers installed by python setup.py develop.
17
18
20 python -m pip uninstall [options] <package> ...
21 python -m pip uninstall [options] -r <requirements file> ...
22
24 -r, --requirement <file>
25 Uninstall all the packages listed in the given requirements
26 file. This option can be used multiple times.
27
28 -y, --yes
29 Don't ask for confirmation of uninstall deletions.
30
31 --root-user-action <root_user_action>
32 Action if pip is run as a root user. By default, a warning mes‐
33 sage is shown.
34
35 --break-system-packages
36 Allow pip to modify an EXTERNALLY-MANAGED Python installation
37
38
40 pip developers
41
43 The pip developers
44
45
46
47
4823.2 Aug 04, 2023 PIP-UNINSTALL(1)