{
  "id": "python/pip-egg-info-requires-python",
  "signature": "ERROR: Package 'foo' requires a different Python: 3.8.10 not in '>=3.9'",
  "signature_zh": "错误：包 'foo' 需要不同的 Python：3.8.10 不在 '>=3.9' 范围内",
  "regex": "ERROR:\\ Package\\ 'foo'\\ requires\\ a\\ different\\ Python:\\ 3\\.8\\.10\\ not\\ in\\ '>=3\\.9'",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The package declares `requires-python = \">=3.9\"` (or similar) in its metadata, and the current interpreter version is outside the allowed range.",
  "root_cause_type": "generic",
  "root_cause_zh": "该包在其元数据中声明 `requires-python = \">=3.9\"`（或类似），而当前解释器版本不在允许范围内。",
  "versions": [
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Installs a package that may use 3.9+ syntax and crash at import time.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The metadata check is independent of pip version.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Upgrade the interpreter to a supported version (e.g. install Python 3.11) and recreate the venv.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Install an older release of the package that supports your Python: `pip install 'foo<2'` after checking `pip index versions 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.88,
  "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": []
}