{
  "id": "python/setuptools-unknown-dist-info",
  "signature": "error: Multiple .dist-info directories found: /path/lib/python3.9/site-packages/pkg-1.0.dist-info, /path/lib/python3.9/site-packages/pkg-1.1.dist-info",
  "signature_zh": "错误：找到多个 .dist-info 目录：/path/lib/python3.9/site-packages/pkg-1.0.dist-info, /path/lib/python3.9/site-packages/pkg-1.1.dist-info",
  "regex": "error:\\ Multiple\\ \\.dist\\-info\\ directories\\ found:\\ /path/lib/python3\\.9/site\\-packages/pkg\\-1\\.0\\.dist\\-info,\\ /path/lib/python3\\.9/site\\-packages/pkg\\-1\\.1\\.dist\\-info",
  "domain": "python",
  "category": "system_error",
  "subcategory": null,
  "root_cause": "Two versions of the same package are installed in the same environment due to improper uninstallation or forced installs.",
  "root_cause_type": "generic",
  "root_cause_zh": "由于卸载不当或强制安装，同一环境中安装了同一包的两个版本。",
  "versions": [
    {
      "version": "3.6",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May leave orphaned files and break package metadata; pip may still detect inconsistencies.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Overwrites but may not clean up old directories, leaving duplicates.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip uninstall -y pkg && pip install pkg",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip install --upgrade --force-reinstall --no-deps pkg",
      "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-01-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}