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

Also available as: JSON · Markdown · 中文
80%Fix Rate
89%Confidence
0Evidence
2024-04-12First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
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

  1. 95% success
    Download the correct wheel for your platform/Python version from PyPI.
  2. 80% success
    Build from source: `pip install --no-binary foo foo`.

Dead Ends

Common approaches that don't work:

  1. 95% fail

    Does not change the binary compatibility.

  2. 90% fail

    Still rejects incompatible wheel.