{
  "id": "python/pip-install-requires-build-deps",
  "signature": "ERROR: Some build dependencies for package from https://... are missing: 'setuptools>=40.8.0' is not installed.",
  "signature_zh": "错误：来自 https://... 的 package 缺少一些构建依赖：未安装 'setuptools>=40.8.0'。",
  "regex": "ERROR:\\ Some\\ build\\ dependencies\\ for\\ package\\ from\\ https://\\.\\.\\.\\ are\\ missing:\\ 'setuptools>=40\\.8\\.0'\\ is\\ not\\ installed\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The package's pyproject.toml specifies build dependencies that are not present in the isolated build environment. pip attempts to install them but may fail due to network or resolver issues.",
  "root_cause_type": "generic",
  "root_cause_zh": "包的 pyproject.toml 指定了隔离构建环境中不存在的构建依赖。pip 尝试安装它们，但可能因网络或解析器问题而失败。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Requires the build dependencies to be already installed; if not, the error persists.",
      "fail_rate": 0.75,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Other build dependencies may also be missing; installing only setuptools is incomplete.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip install setuptools>=40.8.0 wheel cython  # then pip install package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip install -r build-requirements.txt && pip install package --no-build-isolation",
      "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-09-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}