PIP-UNINSTALL(1)

πŸ“¦ version 23.2.1, in centos-stream 9

πŸ’… PIP-UNINSTALL(1) β€” the pip girlies' guide πŸŽ€

okay so bestie, you're in the pip corner of the man pages β€” yes, the one and only pip β€” and this is the pip-uninstall page. buckle up, we're yeeting packages today πŸ¦‹


✨ NAME ✨

pip-uninstall β€” literally the description of the pip uninstall command. that's the whole vibe. no cap.


🌸 DESCRIPTION 🌸

Uninstall packages. that's it, that's the tweet πŸ’…

pip</purl> is able to uninstall most installed packages. but bestie, there are known exceptions, and we're gonna name them because we're not about to let you get blindsided 😭

  • Pure distutils packages installed with python setup.py install, which leave behind no metadata to determine what files were installed. it's giving "i threw away the receipt" πŸ™ˆ
  • Script wrappers installed by python setup.py develop.

⭐ USAGE ⭐

here's the shape of it, keep it exactly like this:

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

πŸŽ€ OPTIONS πŸŽ€

  • -r, --requirement <file> β€” uninstall all the packages listed in the given requirements file. and yes bestie, this option can be used multiple times β€” stack 'em up πŸ”₯
  • -y, --yes β€” don't ask for confirmation of uninstall deletions. zero questions, straight to the yeet πŸ’€ (use responsibly, queen)
  • --root-user-action <root_user_action> β€” action if pip is run as a root user. by default, a warning message is shown. so like, keep that in mind πŸ‘‘
  • --break-system-packages β€” allow pip to modify an EXTERNALLY-MANAGED Python installation. highkey a big-girl move, so know what you're doing 🫢

🌈 AUTHOR 🌈

pip developers β€” the icons behind it all, no notes ✨


The pip developers


bestie reminder: distutils packages installed with python setup.py install have no metadata, so pip can't work out what files to delete. that's not a bug, that's just the lore 😭 same energy for script wrappers from python setup.py develop.

and that's the page, fr fr πŸ’– version 23.2, dated Jun 25, 2025 β€” shoutout to the pip team for keeping us uninstalled and unbothered, mwah πŸ“πŸ§šβ­

πŸ“¦ where this page comes from