PIP-UNINSTALL(1)
π 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 arewarnandignore. 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 anEXTERNALLY-MANAGEDPython 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 π«Ά
π COPYRIGHT π
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