{
  "id": "python/pip-resolver-backtracking-too-deep",
  "signature": "ERROR: ResolutionImpossible: Cannot install package-a and package-b because these package versions have conflicting dependencies.",
  "signature_zh": "错误：ResolutionImpossible：无法安装 package-a 和 package-b，因为这些包版本存在冲突的依赖关系。",
  "regex": "ERROR:\\ ResolutionImpossible:\\ Cannot\\ install\\ package\\-a\\ and\\ package\\-b\\ because\\ these\\ package\\ versions\\ have\\ conflicting\\ dependencies\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "pip's dependency resolver (resolvelib) cannot find a set of package versions satisfying all constraints. This often occurs with transitive dependencies requiring mutually exclusive versions.",
  "root_cause_type": "generic",
  "root_cause_zh": "pip 的依赖解析器（resolvelib）无法找到满足所有约束的包版本集合。这通常发生在传递依赖要求互斥版本时。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "--force-reinstall reinstalls but does not resolve version conflicts; the resolver still fails.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Cache clearing does not change dependency metadata; the conflict remains.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.8,
      "how": "pip install 'package-a==1.2.0' 'package-b==2.0.0'  # choose versions with compatible deps",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.6,
      "how": "pip install --use-deprecated=legacy-resolver package-a package-b",
      "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-08-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}