{
  "id": "python/pip-unsupported-given-version",
  "signature": "ERROR: pip's legacy dependency resolver is deprecated. Please upgrade pip to use the new resolver.",
  "signature_zh": "错误：pip 的旧版依赖解析器已弃用。请升级 pip 以使用新解析器。",
  "regex": "ERROR:\\ pip's\\ legacy\\ dependency\\ resolver\\ is\\ deprecated\\.\\ Please\\ upgrade\\ pip\\ to\\ use\\ the\\ new\\ resolver\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "An older version of pip is being used with a flag or configuration that triggers the legacy resolver.",
  "root_cause_type": "generic",
  "root_cause_zh": "使用了旧版 pip，并带有触发旧版解析器的标志或配置。",
  "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": "Using --use-deprecated legacy-resolver",
      "why_fails": "This is deprecated and may be removed; it's better to upgrade.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Ignoring the warning",
      "why_fails": "The resolver may produce incorrect results or errors.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Upgrade pip to the latest version",
      "success_rate": 0.95,
      "how": "pip install --upgrade pip",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use Python 3.11+ which ships with a newer pip",
      "success_rate": 0.9,
      "how": "python3.11 -m pip install mypackage",
      "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.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-06-30",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}