{
  "id": "python/setuptools-python-requires-mismatch",
  "signature": "ERROR: Package 'foo' requires a different Python: 3.8.0 not in '>=3.9'",
  "signature_zh": "错误：包 'foo' 需要不同的 Python 版本：3.8.0 不在 '>=3.9' 中",
  "regex": "ERROR:\\ Package\\ 'foo'\\ requires\\ a\\ different\\ Python:\\ 3\\.8\\.0\\ not\\ in\\ '>=3\\.9'",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The package's python_requires metadata excludes the current Python version.",
  "root_cause_type": "generic",
  "root_cause_zh": "包的 python_requires 元数据排除了当前 Python 版本。",
  "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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Force installation with --ignore-requires-python",
      "why_fails": "May cause runtime errors due to incompatible APIs.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Downgrading pip",
      "why_fails": "Pip version doesn't change Python version.",
      "fail_rate": 0.2,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use a compatible Python version via pyenv or conda",
      "success_rate": 0.95,
      "how": "pyenv install 3.10 && pyenv local 3.10",
      "condition": "",
      "sources": []
    },
    {
      "action": "Find an older version of the package that supports your Python",
      "success_rate": 0.8,
      "how": "pip install 'foo<2.0'",
      "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-06-10",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}