PIP-UNINSTALL(1)

πŸ“¦
version 25.1.1 Β· 2 versions
, in epel 9

πŸ’… pip-uninstall β€” bestie's guide to yeeting packages

okay so real talk, this is the manual page for pip uninstall ✨ literally the "get this out of my house" command. it lives in the pip section of the manual, section 1, and we're gonna go through it together, no cap.


🌸 NAME 🌸

pip-uninstall β€” the description of the pip uninstall command, aka the page you're reading right now 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

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

pip is able to uninstall most installed packages β€” like, the vast majority, iconic behaviour honestly πŸ‘‘. but there are known exceptions, and you need to know them:

  • Pure distutils packages installed with python setup.py install, which leave behind zero metadata to determine what files were installed. like, they ghosted the filing system. there's literally nothing left to tell pip what to remove 😭
  • Script wrappers installed by python setup.py develop.

so if you're like "why won't you uninstall this thing" β€” check those two first, bestie πŸ™ˆ


πŸŽ€ USAGE πŸŽ€

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

two ways to do it: name the packages right there on the line, or point at a requirements file and let it cook ⭐


✨ OPTIONS ✨

  • -r, --requirement <file> β€” uninstall all the packages listed in the given requirements file. and the best part? this option can be used multiple times πŸ”₯ stack 'em up, go off, king. (environment variable: PIP_REQUIREMENT)
  • -y, --yes β€” don't ask for confirmation of uninstall deletions. no "are you sure πŸ₯Ί" moment, it just does the thing. highkey powerful, use it with intention πŸ’€ (environment variable: PIP_YES)
  • --root-user-action <root_user_action> β€” what pip should do if it's being run as a root user. the values are warn and ignore. default: warn (so it will yell at you about it by default, fair tbh). (environment variable: PIP_ROOT_USER_ACTION)
  • --break-system-packages β€” allow pip to modify an EXTERNALLY-MANAGED Python installation. the name is genuinely giving "I know what I'm doing and I accept the consequences" energy 😭 that's literally what it's for. (environment variable: PIP_BREAK_SYSTEM_PACKAGES)

πŸ’œ AUTHOR πŸ’œ

pip developers β€” the main characters, honestly 🫢


The pip developers ✨


and that's the whole page, bestie! this one's at version 25.1, dated Jun 26, 2025 β€” so if you're reading this from some future era, hello from the past, hope your venvs are clean πŸ’–πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from
  • epel 9: python3.13-pip 25.1.1-1.el9 Β· MIT AND Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MPL-2.0 AND (Apache-2.0 OR BSD-2-Clause)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms