# ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes.

- **ID:** `python/pip-install-hash-mismatch`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The downloaded package's hash does not match the hash specified in the requirements file, indicating a corrupted download or a changed package.

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   pip hash package.whl  # then update requirements.txt with new hash
   ```
2. **** (85% success)
   ```
   pip install --require-hashes -r requirements.txt  # after updating hashes
   ```

## Dead Ends

- **** — Loses the security benefit of hash checking; not recommended. (70% fail)
- **** — If the package on the index has changed, retrying will still fail. (60% fail)
