# ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE.
    Expected sha256 abc...
         Got        def...
    /root/.cache/pip/wheels/.../mypkg-1.0-py3-none-any.whl

- **ID:** `python/pip-cache-corrupt-wheel-hash`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A cached wheel in ~/.cache/pip is corrupted or was built from different sources, so its hash no longer matches the pinned value.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (97% success)
   ```
   pip cache purge
pip install --no-cache-dir -r requirements.txt
   ```
2. **** (95% success)
   ```
   rm -rf ~/.cache/pip/wheels
pip install -r requirements.txt
   ```

## Dead Ends

- **** — Force reinstall still consults the cache and reuses the corrupted wheel. (80% fail)
- **** — Does not bypass hash verification or cache lookup. (90% fail)
- **** — Only affects TLS trust, not wheel hash verification. (95% fail)
