{
  "id": "python/pip-wheel-platform-tag-mismatch",
  "signature": "ERROR: mypackage-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl is not a supported wheel on this platform.",
  "signature_zh": "错误：mypackage-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl 在此平台上不受支持的 wheel。",
  "regex": "ERROR:\\ mypackage\\-1\\.0\\.0\\-cp311\\-cp311\\-manylinux_2_34_x86_64\\.whl\\ is\\ not\\ a\\ supported\\ wheel\\ on\\ this\\ platform\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The wheel's platform tag (manylinux_2_34) requires glibc >= 2.34 but the host has an older glibc (e.g. CentOS 7 with glibc 2.17). pip refuses to install incompatible wheels.",
  "root_cause_type": "generic",
  "root_cause_zh": "wheel 的平台标签（manylinux_2_34）要求 glibc >= 2.34，但主机 glibc 更旧（例如 CentOS 7 的 glibc 2.17）。pip 拒绝安装不兼容的 wheel。",
  "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": "Force does not bypass platform tag validation.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Dependency resolution is not the issue; the wheel tag is.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip install --no-binary mypackage mypackage",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Upgrade to a newer base image (e.g. Ubuntu 22.04+ or manylinux2014-compatible distro)",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "pip install mypackage==0.9.0  # version built with manylinux2014 tag",
      "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.87,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2024-11-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}