# ERROR: Ignored the following versions that require a different python version: 5.0.0 Requires-Python >=3.11
ERROR: Could not find a version that satisfies the requirement somepkg (from versions: 4.9.0, 4.9.1)
ERROR: No matching distribution found for somepkg

- **ID:** `python/pip-requires-python-unsatisfied`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The requested package version declares Requires-Python >=3.11 in its metadata, but the running interpreter is older (e.g. 3.9), so pip filters it out and reports no matching distribution.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   python --version
pip install 'somepkg<5'
   ```
2. **** (90% success)
   ```
   # using pyenv
pyenv install 3.11.9
pyenv local 3.11.9
python -m venv .venv && source .venv/bin/activate
pip install somepkg
   ```

## Dead Ends

- **** — --pre only enables pre-release versions; the Requires-Python filter still applies. (85% fail)
- **** — pip has no --ignore-requires-python flag; the option is unrecognized and the command errors out. (95% fail)
