{
  "id": "python/setuptools-unsupported-wheel-format",
  "signature": "error: invalid command 'bdist_wheel'",
  "signature_zh": "错误：无效的命令'bdist_wheel'",
  "regex": "error:\\ invalid\\ command\\ 'bdist_wheel'",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The setuptools version installed is too old to support building wheel distributions, or the 'wheel' package is missing.",
  "root_cause_type": "generic",
  "root_cause_zh": "安装的setuptools版本太旧，不支持构建wheel发行版，或缺少'wheel'包。",
  "versions": [
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Same error; command not available.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "May not be in the right environment.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Reinstalls but setuptools still too old.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pip install --upgrade setuptools wheel",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "python -m pip install setuptools wheel",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip wheel . --no-deps",
      "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.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-02-28",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}