# ERROR: Package 'example-pkg' requires a different Python: 3.9.2 not in '>=3.10,<3.13'

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

## Root Cause

The package's metadata specifies a Python version range incompatible with the current interpreter.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   python3.10 -m venv venv && source venv/bin/activate && pip install example-pkg
   ```
2. **** (85% success)
   ```
   pip install 'example-pkg<2.0' --python-version 3.9
   ```

## Dead Ends

- **** — Bypasses the check but often leads to runtime errors or import failures due to missing features/syntax. (70% fail)
- **** — Pip version doesn't affect the package's declared requirement; the incompatibility remains. (90% fail)
- **** — Violates package integrity; pip may still validate against the original metadata from the index. (80% fail)
