Section: Wheelhouse and offline patterns

Purge pip cache

bash
bash
python -m pip cache purge
Explanation

Useful when stale cache state may be causing confusion.

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 Wheelhouse and offline patterns
Show pip cache directory
Print where pip caches downloaded artifacts.
OpenIn sheetbashsame section
Build wheels for requirements
Create wheel artifacts for dependencies.
OpenIn sheetbashsame section
Install only from a local wheelhouse
Install using local artifacts and no package index.
OpenIn sheetbashsame section
Install a requirements file
Install project dependencies from requirements.txt.
OpenIn sheetbash1 tag match
Editable install of current project
Install the current project in editable mode.
OpenIn sheetbash1 tag match
Show package install location
Display metadata and install location for a package.
OpenIn sheetbash1 tag match