{
  "id": "python/pip-legacy-setup-py-install-removed",
  "signature": "ERROR: Cannot install -r requirements.txt and foo==1.0 because these package versions have conflicting dependencies.\n\nERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts",
  "signature_zh": "错误：无法安装 -r requirements.txt 和 foo==1.0，因为这些包版本存在依赖冲突。\n\n错误：ResolutionImpossible：帮助参见 https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts",
  "regex": "ERROR:\\ Cannot\\ install\\ \\-r\\ requirements\\.txt\\ and\\ foo==1\\.0\\ because\\ these\\ package\\ versions\\ have\\ conflicting\\ dependencies\\.\\\n\\\nERROR:\\ ResolutionImpossible:\\ for\\ help\\ visit\\ https://pip\\.pypa\\.io/en/latest/topics/dependency\\-resolution/\\#dealing\\-with\\-dependency\\-conflicts",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The modern pip resolver cannot find any version set satisfying all pinned constraints, often due to over-pinned requirements or transitive version pins that contradict each other.",
  "root_cause_type": "generic",
  "root_cause_zh": "现代 pip 解析器找不到满足所有固定约束的版本集合，通常由于 requirements 过度固定或传递依赖的版本固定相互矛盾。",
  "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": "",
      "why_fails": "Installs incompatible versions and only defers the failure to runtime.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May break reproducibility and still conflict transitively.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Relax pins to ranges (`foo>=1.0,<2`) and re-resolve; use `pip install -r requirements.txt --dry-run` to preview.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Use a resolver-aware tool: `pip-compile requirements.in` or `uv pip compile` to compute a consistent lockfile.",
      "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": "partial",
  "first_seen": "2024-04-02",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}