python
install_error
ai_generated
true
错误:foo-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 在此平台上不是受支持的 wheel。
ERROR: foo-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.
ID: python/pip-no-matching-distribution-for-wheel
80%修复率
89%置信度
0证据数
2024-04-12首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| 3.8 | active | — | — | — |
| 3.9 | active | — | — | — |
| 3.10 | active | — | — | — |
| 3.11 | active | — | — | — |
| 3.12 | active | — | — | — |
根因分析
wheel 是为与当前环境不同的平台或 Python 版本构建的。
English
The wheel is built for a different platform or Python version than the current environment.
解决方案
-
95% 成功率
Download the correct wheel for your platform/Python version from PyPI.
-
80% 成功率
Build from source: `pip install --no-binary foo foo`.
无效尝试
常见但无效的做法:
-
95% 失败
Does not change the binary compatibility.
-
90% 失败
Still rejects incompatible wheel.