{
  "id": "python/pip-conflict-with-requirement",
  "signature": "ERROR: pip's dependency resolver conflicts with installed package 'requests==2.25.0' while installing 'mypackage'",
  "signature_zh": "错误：pip的依赖解析器与已安装的包'requests==2.25.0'冲突，正在安装'mypackage'",
  "regex": "ERROR:\\ pip's\\ dependency\\ resolver\\ conflicts\\ with\\ installed\\ package\\ 'requests==2\\.25\\.0'\\ while\\ installing\\ 'mypackage'",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The requested package requires a different version of an already installed package, causing a dependency conflict.",
  "root_cause_type": "generic",
  "root_cause_zh": "请求的包需要已安装包的不同版本，导致依赖冲突。",
  "versions": [
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Ignoring dependency with --no-deps",
      "why_fails": "Installs package without dependencies, may break at runtime.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Forcing install with --ignore-installed",
      "why_fails": "Overwrites existing package; may break other installed packages.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use a virtual environment to isolate dependencies",
      "success_rate": 0.95,
      "how": "python -m venv myenv\nsource myenv/bin/activate\npip install mypackage",
      "condition": "",
      "sources": []
    },
    {
      "action": "Upgrade or downgrade conflicting package",
      "success_rate": 0.85,
      "how": "pip install 'requests>=2.26.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.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-08-30",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}