{
  "id": "python/pip-cache-corrupted-wheel",
  "signature": "ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes.",
  "signature_zh": "错误：这些包与需求文件中的哈希不匹配。如果您已更新包版本，请更新哈希值。",
  "regex": "ERROR:\\ THESE\\ PACKAGES\\ DO\\ NOT\\ MATCH\\ THE\\ HASHES\\ FROM\\ THE\\ REQUIREMENTS\\ FILE\\.\\ If\\ you\\ have\\ updated\\ the\\ package\\ versions,\\ please\\ update\\ the\\ hashes\\.",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Cached wheel differs from the hash pinned in requirements, often due to a corrupted cache or changed source.",
  "root_cause_type": "generic",
  "root_cause_zh": "缓存的 wheel 与 requirements 中固定的哈希不匹配，通常由于缓存损坏或源更改。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Hash check still applies to the downloaded artifact.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Weakens supply-chain security and may violate policy.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "pip cache purge\npip install --require-hashes -r requirements.txt",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "pip-compile --generate-hashes requirements.in",
      "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-02-08",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}