{
  "id": "python/pip-invalid-wheel-filename",
  "signature": "ERROR: Invalid wheel filename: my_package-1.0-py3-none-any.whl",
  "signature_zh": "错误：无效的 wheel 文件名：my_package-1.0-py3-none-any.whl",
  "regex": "ERROR:\\ Invalid\\ wheel\\ filename:\\ my_package\\-1\\.0\\-py3\\-none\\-any\\.whl",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "The wheel file's name does not follow the PEP 427 naming convention (e.g., missing version or tag separators).",
  "root_cause_type": "generic",
  "root_cause_zh": "wheel 文件名不符合 PEP 427 命名约定（例如缺少版本或标签分隔符）。",
  "versions": [
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "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"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the internal metadata doesn't match, pip may reject it after download.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Doesn't address the filename issue; the error persists.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "python setup.py bdist_wheel --universal  # ensures proper naming",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.75,
      "how": "pip install --no-use-pep517 /path/to/my_package-1.0-py3-none-any.whl",
      "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.82,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-04-02",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}