{
  "id": "python/setuptools-cython-extension-error",
  "signature": "error: Cython does not appear to be installed. Use 'pip install Cython' to install it.",
  "signature_zh": "错误：Cython 似乎未安装。使用 'pip install Cython' 安装它。",
  "regex": "error:\\ Cython\\ does\\ not\\ appear\\ to\\ be\\ installed\\.\\ Use\\ 'pip\\ install\\ Cython'\\ to\\ install\\ it\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The setup.py uses Cython extensions but Cython is not installed in the environment.",
  "root_cause_type": "generic",
  "root_cause_zh": "setup.py 使用了 Cython 扩展，但环境中未安装 Cython。",
  "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": "",
      "why_fails": "Global install may not be accessible in virtual environments; also may cause version conflicts.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Setuptools does not include Cython; it must be explicitly installed.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pip install Cython",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "[build-system] requires = ['setuptools', 'wheel', 'Cython']",
      "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.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-10-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}