{
  "id": "python/pip-error-subprocess-exited-with-error",
  "signature": "error: subprocess-exited-with-error\n\n× python setup.py bdist_wheel did not run successfully.\n│ exit code: 1\n╰─> [12 lines of output]\n    ModuleNotFoundError: No module named 'Cython'",
  "signature_zh": "错误：subprocess-exited-with-error\n\n× python setup.py bdist_wheel 未成功运行。\n│ 退出码：1\n╰─> [12 行输出]\n    ModuleNotFoundError: 没有名为 'Cython' 的模块",
  "regex": "error:\\ subprocess\\-exited\\-with\\-error\\\n\\\n×\\ python\\ setup\\.py\\ bdist_wheel\\ did\\ not\\ run\\ successfully\\.\\\n│\\ exit\\ code:\\ 1\\\n╰─>\\ \\[12\\ lines\\ of\\ output\\]\\\n\\ \\ \\ \\ ModuleNotFoundError:\\ No\\ module\\ named\\ 'Cython'",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "A PEP 517 build backend subprocess failed because a build-time dependency (e.g., Cython) is declared in pyproject.toml but not installed in the isolated build environment.",
  "root_cause_type": "generic",
  "root_cause_zh": "PEP 517 构建后端子进程失败，因为 pyproject.toml 中声明的构建时依赖（例如 Cython）未安装在隔离的构建环境中。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The isolated build env does not inherit the outer env, so Cython is still missing inside it.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Without isolation, the build runs in the current env, which still lacks Cython.",
      "fail_rate": 0.65,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The package source is not yours to edit; pip re-downloads the pristine sdist.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.88,
      "how": "python -m pip install Cython numpy\npython -m pip install --no-build-isolation the-package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "python -m pip install --only-binary=:all: --extra-index-url https://download.pytorch.org/whl/cpu the-package",
      "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.87,
  "fix_success_rate": 0.8,
  "resolvable": "partial",
  "first_seen": "2024-05-22",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}