{
  "id": "python/setuptools-cython-not-found",
  "signature": "error: Cython.Distutils.build_ext is not available",
  "signature_zh": "错误：Cython.Distutils.build_ext不可用",
  "regex": "error:\\ Cython\\.Distutils\\.build_ext\\ is\\ not\\ available",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The package uses Cython to build C extensions, but Cython is not installed in the build environment.",
  "root_cause_type": "generic",
  "root_cause_zh": "包使用Cython构建C扩展，但构建环境中未安装Cython。",
  "versions": [
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May not be in the isolated build environment.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Still requires Cython.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May break the build.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "In pyproject.toml: [build-system] requires = [\"setuptools\", \"Cython\"]",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip install Cython && pip install --no-build-isolation package",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "pip install --only-binary :all: 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": "true",
  "first_seen": "2024-10-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}