# ERROR: Exception: Traceback (most recent call last):
...
File "pip/_vendor/urllib3/response.py", line 438, in _error_catcher
    raise ProtocolError('Connection broken: %r' % e, e)
pip._vendor.urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))

- **ID:** `python/pip-cache-corruption`
- **Domain:** python
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A corrupted download cache causes incomplete reads during package installation.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.8 | active | — | — |
| 3.9 | active | — | — |
| 3.10 | active | — | — |
| 3.11 | active | — | — |
| 3.12 | active | — | — |

## Workarounds

1. **Clear pip's cache and retry** (90% success)
   ```
   pip cache purge && pip install mypackage
   ```
2. **Disable caching for the installation** (85% success)
   ```
   pip install --no-cache-dir mypackage
   ```

## Dead Ends

- **Increasing timeout settings** — The issue is corrupted data, not a timeout. (80% fail)
- **Using a different network interface** — The cache is local; network changes don't fix corruption. (90% fail)
