python
data_error
ai_generated
true
ERROR: Invalid cache entry for package-1.0-py3-none-any.whl - cache entry is corrupted
ID: python/pip-cache-corrupted
80%Fix Rate
88%Confidence
0Evidence
2025-08-15First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.10 | active | — | — | — |
Root Cause
The pip cache contains a corrupted wheel file, often due to an interrupted download or disk error.
generic中文
pip缓存包含损坏的wheel文件,通常由于下载中断或磁盘错误。
Workarounds
-
90% success
pip cache purge
-
95% success
pip install --no-cache-dir package
-
90% success
rm -rf ~/.cache/pip
Dead Ends
Common approaches that don't work:
-
80% fail
Uses the same corrupted cache entry.
-
50% fail
May still have the corrupted file elsewhere.
-
70% fail
Disables cache but also index.