{
  "id": "python/pip-install-error-invalid-wheel",
  "signature": "ERROR: package-1.0.0-py3-none-any.whl is not a valid wheel filename.",
  "signature_zh": "错误：package-1.0.0-py3-none-any.whl 不是有效的 wheel 文件名。",
  "regex": "ERROR:\\ package\\-1\\.0\\.0\\-py3\\-none\\-any\\.whl\\ is\\ not\\ a\\ valid\\ wheel\\ filename\\.",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "The wheel file does not conform to the PEP 427 naming convention, causing pip to reject it.",
  "root_cause_type": "generic",
  "root_cause_zh": "wheel 文件不符合 PEP 427 命名约定，导致 pip 拒绝安装。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Renaming alone may not fix internal metadata mismatches.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Force reinstall does not bypass filename validation.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Newer pip still enforces valid wheel filenames.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip download package --only-binary :all:",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip wheel package --no-binary :all:",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Ensure the format is {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.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.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-01-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}