# 错误：somepkg-1.0-cp312-cp312-manylinux_2_28_x86_64.whl 在此平台上不受支持。

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

## 根因

该 wheel 的平台标签（如 manylinux_2_28）要求比主机更新的 glibc，或者架构/ABI 不匹配。

## 版本兼容性

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

## 解决方案

1. **** (90% 成功率)
   ```
   python -c "from packaging.tags import sys_tags; print([str(t) for t in sys_tags()][:10])"
   ```
2. **** (75% 成功率)
   ```
   pip install --no-binary=:all: <package>  # or pip install <package>==<older-version>
   ```
3. **** (80% 成功率)
   ```
   docker run --rm -it python:3.12-slim  # build inside a matching container
   ```

## 无效尝试

- **** — The binary still links against newer symbols and fails at import time with undefined symbols. (90% 失败率)
- **** — Force-reinstall does not bypass platform-tag validation. (95% 失败率)
- **** — The wheel itself is rejected regardless of dependencies. (95% 失败率)
