# 错误：此包需要 pip 版本 21.0 或更高，但你的版本是 20.0.2

- **ID:** `python/pip-install-error-requires-pip-version`
- **领域:** python
- **类别:** install_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

包使用 pyproject.toml，其 build-system 要求指定了最低 pip 版本，而安装的 pip 太旧，无法理解元数据格式。

## 版本兼容性

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

## 解决方案

1. **** (98% 成功率)
   ```
   Upgrade pip: python -m pip install --upgrade pip.
   ```
2. **** (90% 成功率)
   ```
   If upgrade fails due to permissions, use --user: python -m pip install --user --upgrade pip.
   ```

## 无效尝试

- **** — Old pip cannot parse the pyproject.toml correctly, leading to build failures. (85% 失败率)
- **** — Requires downloading and modifying the package, and may still fail due to other incompatibilities. (75% 失败率)
