{
  "id": "python/pip-egg-info-error",
  "signature": "ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.",
  "signature_zh": "错误：命令以退出状态 1 出错：python setup.py egg_info 请查看日志以获取完整命令输出。",
  "regex": "ERROR:\\ Command\\ errored\\ out\\ with\\ exit\\ status\\ 1:\\ python\\ setup\\.py\\ egg_info\\ Check\\ the\\ logs\\ for\\ full\\ command\\ output\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The package's setup.py fails during egg_info generation, often due to missing dependencies or syntax errors.",
  "root_cause_type": "generic",
  "root_cause_zh": "包的 setup.py 在 egg_info 生成期间失败，通常是由于缺少依赖项或语法错误。",
  "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": "Reinstalling the package with --no-cache-dir",
      "why_fails": "Caching is not the root cause; the setup.py itself is broken.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "Installing in a different directory",
      "why_fails": "The error is inherent to the package code, not the installation path.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Install required build dependencies manually",
      "success_rate": 0.85,
      "how": "pip install setuptools wheel && pip install mypackage",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a pre-built wheel if available",
      "success_rate": 0.75,
      "how": "pip install mypackage --only-binary :all:",
      "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-07-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}