{
  "id": "python/pip-install-requires-compiler",
  "signature": "error: Microsoft Visual C++ 14.0 or greater is required. Get it with \"Microsoft C++ Build Tools\": https://visualstudio.microsoft.com/visual-cpp-build-tools/",
  "signature_zh": "错误：需要 Microsoft Visual C++ 14.0 或更高版本。通过 \"Microsoft C++ Build Tools\" 获取：https://visualstudio.microsoft.com/visual-cpp-build-tools/",
  "regex": "error:\\ Microsoft\\ Visual\\ C\\+\\+\\ 14\\.0\\ or\\ greater\\ is\\ required\\.\\ Get\\ it\\ with\\ \"Microsoft\\ C\\+\\+\\ Build\\ Tools\":\\ https://visualstudio\\.microsoft\\.com/visual\\-cpp\\-build\\-tools/",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The package contains C extensions and needs a C compiler to build on Windows.",
  "root_cause_type": "generic",
  "root_cause_zh": "包包含 C 扩展，需要在 Windows 上使用 C 编译器构建。",
  "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": "Forces source build, which still needs a compiler.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Installation will fail.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Install Microsoft C++ Build Tools from the provided URL.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Use a pre-built wheel if available: `pip install --only-binary :all: foo`.",
      "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.89,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-02-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}