{
  "id": "python/pip-wheel-not-supported-purelib",
  "signature": "ERROR: foo-1.0-py3-none-any.whl is not a supported wheel on this platform.",
  "signature_zh": "错误：foo-1.0-py3-none-any.whl 在此平台上不受支持的 wheel。",
  "regex": "ERROR:\\ foo\\-1\\.0\\-py3\\-none\\-any\\.whl\\ is\\ not\\ a\\ supported\\ wheel\\ on\\ this\\ platform\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "pip rejects a wheel whose tag does not match the current interpreter/platform. Often the wheel was built for a different Python ABI (e.g., cp311 on a cp312 interpreter) or the platform tag is incompatible (win_amd64 on linux).",
  "root_cause_type": "generic",
  "root_cause_zh": "pip 拒绝标签与当前解释器/平台不匹配的 wheel。通常是 wheel 为不同的 Python ABI 构建（例如在 cp312 解释器上使用 cp311），或平台标签不兼容（在 linux 上使用 win_amd64）。",
  "versions": [
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "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": "The filename tag is metadata only; the binary inside still targets another ABI and crashes at import with undefined symbols.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Force-reinstall does not bypass tag compatibility checks.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "python -c 'import sys; print(sys.implementation.cache_tag)'\n# download correct tag, e.g. cp312\npip download --only-binary=:all: --python-version 312 --platform manylinux2014_x86_64 foo",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.75,
      "how": "pip install --no-binary foo foo",
      "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.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}