# ERROR: Installation aborted by user. KeyboardInterrupt

- **ID:** `pip/installation-aborted-by-user`
- **Domain:** pip
- **Category:** system_error
- **Error Code:** `ERROR`
- **Verification:** ai_generated
- **Fix Rate:** 100%

## Root Cause

The user pressed Ctrl+C (or sent SIGINT) during a pip install operation, causing Python to raise a KeyboardInterrupt exception that pip handles as an abort.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| pip 23.0 | active | — | — |
| pip 23.1 | active | — | — |
| pip 24.0 | active | — | — |

## Workarounds

1. **Simply re-run the pip install command. Example: pip install package** (100% success)
   ```
   Simply re-run the pip install command. Example: pip install package
   ```
2. **If the installation was taking too long and you want to avoid future aborts, consider using a timeout or running in background: timeout 300 pip install package** (90% success)
   ```
   If the installation was taking too long and you want to avoid future aborts, consider using a timeout or running in background: timeout 300 pip install package
   ```
3. **Use pip's --no-cache-dir flag to avoid re-downloading if the abort happened during download: pip install --no-cache-dir package** (80% success)
   ```
   Use pip's --no-cache-dir flag to avoid re-downloading if the abort happened during download: pip install --no-cache-dir package
   ```

## Dead Ends

- **** — The error is transient; simply re-running the command works. (10% fail)
- **** — The abort is due to user input, not permissions; sudo does not prevent Ctrl+C. (20% fail)
