python
install_error
ai_generated
true
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%Fix Rate
89%Confidence
0Evidence
2024-04-12First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3.8 | active | — | — | — |
| 3.9 | active | — | — | — |
| 3.10 | active | — | — | — |
| 3.11 | active | — | — | — |
| 3.12 | active | — | — | — |
Root Cause
The wheel is built for a different platform or Python version than the current environment.
generic中文
wheel 是为与当前环境不同的平台或 Python 版本构建的。
Workarounds
-
95% success
Download the correct wheel for your platform/Python version from PyPI.
-
80% success
Build from source: `pip install --no-binary foo foo`.
Dead Ends
Common approaches that don't work:
-
95% fail
Does not change the binary compatibility.
-
90% fail
Still rejects incompatible wheel.