pip Config, Cache, and Debugging Cheat Sheet/Remove cached package entries

Delete cached entries for a package.

Section: Cache Management

Remove cached package entries

bash
bash
python -m pip cache remove requests
Explanation

Useful if you suspect a stale or corrupted cached artifact.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Cache Management
Show cache directory
Print pip’s cache location.
OpenIn sheetbashsame section
Show cache info
Display cache size and entry information.
OpenIn sheetbashsame section
List cache entries
List cached wheel or package files.
OpenIn sheetbashsame section
Purge entire cache
Clear all cached pip artifacts.
OpenIn sheetbashsame section
Disable cache for one install
Skip cache use while installing.
OpenIn sheetbash1 tag match
List pip configuration values
Show effective pip configuration settings.