# 错误：foo-2.0.0-cp312-cp312-manylinux_2_17_x86_64.whl 在此平台上不受支持。

- **ID:** `python/pip-python-version-mismatch-wheel-tag`
- **领域:** python
- **类别:** install_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

wheel 的 ABI 标签（cp312）与运行的解释器或平台不匹配。

## 版本兼容性

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

## 解决方案

1. **** (90% 成功率)
   ```
   pip install foo  # let pip pick the right wheel
# or: pip install --no-binary :all: foo
   ```
2. **** (85% 成功率)
   ```
   pyenv install 3.12.4 && pyenv local 3.12.4
pip install foo
   ```

## 无效尝试

- **** — The binary is compiled for a different ABI; import crashes with undefined symbols. (85% 失败率)
- **** — Force does not bypass platform compatibility checks. (80% 失败率)
