{
  "id": "python/pip-dependency-cycle",
  "signature": "ERROR: Cannot install package_a and package_b because these package versions have conflicting dependencies.",
  "signature_zh": "错误：无法安装 package_a 和 package_b，因为这些包版本具有冲突的依赖关系。",
  "regex": "ERROR:\\ Cannot\\ install\\ package_a\\ and\\ package_b\\ because\\ these\\ package\\ versions\\ have\\ conflicting\\ dependencies\\.",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Two packages depend on each other or have circular dependencies that cannot be resolved.",
  "root_cause_type": "generic",
  "root_cause_zh": "两个包相互依赖或存在无法解决的循环依赖。",
  "versions": [
    {
      "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": "Installing one package first",
      "why_fails": "May still fail due to conflict.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "Uninstalling both and reinstalling",
      "why_fails": "Cycle persists.",
      "fail_rate": 0.3,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use pip's resolver with backtracking",
      "success_rate": 0.7,
      "how": "pip install --resolver backtracking package_a package_b",
      "condition": "",
      "sources": []
    },
    {
      "action": "Install compatible versions manually",
      "success_rate": 0.8,
      "how": "pip install package_a==1.0 package_b==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.82,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-06-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}