{
  "id": "python/pip-resolution-too-deep",
  "signature": "ERROR: Cannot install foo==1.0 and bar==2.0 because these package versions have conflicting dependencies. ResolutionTooDeep: 2000000",
  "signature_zh": "错误：无法安装 foo==1.0 和 bar==2.0，因为这些包版本存在依赖冲突。ResolutionTooDeep: 2000000",
  "regex": "ERROR:\\ Cannot\\ install\\ foo==1\\.0\\ and\\ bar==2\\.0\\ because\\ these\\ package\\ versions\\ have\\ conflicting\\ dependencies\\.\\ ResolutionTooDeep:\\ 2000000",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The backtracking resolver exceeded its search depth because two or more packages require mutually exclusive versions of a shared dependency, creating an unsatisfiable constraint graph.",
  "root_cause_type": "generic",
  "root_cause_zh": "回溯解析器超过其搜索深度，因为两个或多个软件包需要共享依赖项的互斥版本，形成不可满足的约束图。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The constraint set is unsatisfiable; more rounds just burns CPU before failing again.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Skips dependency installation, leaving imports broken at runtime.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.85,
      "how": "# Inspect the conflict\npip install --dry-run foo==1.0 bar==2.0\n# Relax pins to compatible ranges\npip install 'foo>=1.0,<2' 'bar>=2.0,<3'",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "pip install uv\nuv pip install foo==1.0 bar==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.84,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2024-05-08",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}