{
  "id": "python/pip-wheel-not-supported-on-this-platform",
  "signature": "ERROR: foo-1.2.3-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.",
  "signature_zh": "错误：foo-1.2.3-cp311-cp311-win_amd64.whl 不是此平台支持的 wheel。",
  "regex": "ERROR:\\ foo\\-1\\.2\\.3\\-cp311\\-cp311\\-win_amd64\\.whl\\ is\\ not\\ a\\ supported\\ wheel\\ on\\ this\\ platform\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The wheel's platform/ABI tag does not match the current interpreter (e.g., a Windows wheel on Linux, or cp311 wheel on cp310).",
  "root_cause_type": "generic",
  "root_cause_zh": "wheel 的平台/ABI 标签与当前解释器不匹配（例如在 Linux 上使用 Windows wheel，或在 cp310 上使用 cp311 wheel）。",
  "versions": [
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.12",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Force-reinstall does not change the platform compatibility check.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Renaming breaks the internal RECORD and the wheel may still contain native code for the wrong platform.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Download the wheel matching your platform:\n  pip download --only-binary=:all: --platform manylinux2014_x86_64 --python-version 311 --abi cp311 foo\nOr simply: pip install foo (pip picks the right wheel).",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.7,
      "how": "Build from source if no matching wheel exists:\n  pip install --no-binary=:all: foo\n(requires a compiler toolchain).",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-04-17",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}