{
  "id": "python/flask-json-provider-error",
  "signature": "TypeError: The JSON provider is not installed. Run 'pip install flask[json]'.",
  "signature_zh": "TypeError: 未安装 JSON 提供程序。运行 'pip install flask[json]'。",
  "regex": "TypeError:\\ The\\ JSON\\ provider\\ is\\ not\\ installed\\.\\ Run\\ 'pip\\ install\\ flask\\[json\\]'\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "Flask was installed without the JSON extra dependencies, such as itsdangerous or simplejson.",
  "root_cause_type": "generic",
  "root_cause_zh": "Flask 安装时未包含 JSON 额外依赖，如 itsdangerous 或 simplejson。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Both are required for Flask's JSON provider.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "It still lacks the required dependencies.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 1.0,
      "how": "Run pip install 'flask[json]' to install all JSON dependencies.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Manually install missing packages: pip install itsdangerous simplejson",
      "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-04-27",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}