# 错误：package-1.0-py3-none-any.whl的缓存条目无效 - 缓存条目已损坏

- **ID:** `python/pip-cache-corrupted`
- **领域:** python
- **类别:** data_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

pip缓存包含损坏的wheel文件，通常由于下载中断或磁盘错误。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.10 | active | — | — |

## 解决方案

1. **** (90% 成功率)
   ```
   pip cache purge
   ```
2. **** (95% 成功率)
   ```
   pip install --no-cache-dir package
   ```
3. **** (90% 成功率)
   ```
   rm -rf ~/.cache/pip
   ```

## 无效尝试

- **** — Uses the same corrupted cache entry. (80% 失败率)
- **** — May still have the corrupted file elsewhere. (50% 失败率)
- **** — Disables cache but also index. (70% 失败率)
