{
  "id": "python/pip-install-deps-failed",
  "signature": "ERROR: Command '['/usr/bin/python3', '-m', 'pip', 'install', '--disable-pip-version-check', '--no-input', '--no-index', '--find-links', '/tmp/pip-build-.../package', 'package']' returned non-zero exit status 1.",
  "signature_zh": "错误：命令'['/usr/bin/python3', '-m', 'pip', 'install', '--disable-pip-version-check', '--no-input', '--no-index', '--find-links', '/tmp/pip-build-.../package', 'package']'返回非零退出状态1。",
  "regex": "ERROR:\\ Command\\ '\\['/usr/bin/python3',\\ '\\-m',\\ 'pip',\\ 'install',\\ '\\-\\-disable\\-pip\\-version\\-check',\\ '\\-\\-no\\-input',\\ '\\-\\-no\\-index',\\ '\\-\\-find\\-links',\\ '/tmp/pip\\-build\\-\\.\\.\\./package',\\ 'package'\\]'\\ returned\\ non\\-zero\\ exit\\ status\\ 1\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "During a build, pip attempts to install build dependencies in an isolated environment, but one of those dependencies fails to install, often due to compilation errors.",
  "root_cause_type": "generic",
  "root_cause_zh": "在构建过程中，pip尝试在隔离环境中安装构建依赖，但其中一个依赖安装失败，通常由于编译错误。",
  "versions": [
    {
      "version": "3.11",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May work but hides the underlying dependency issue.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May miss some dependencies.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Only shows more output, doesn't fix.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.8,
      "how": "pip install --no-index --find-links /tmp/pip-build-.../package some-dependency",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip install --only-binary :all: package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "pip install --upgrade pip setuptools wheel",
      "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": "true",
  "first_seen": "2024-09-12",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}