# ERROR: Package 'mypkg' requires a different Python: 3.11.2 not in '>=3.12'

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

## Root Cause

The package's Requires-Python metadata specifies a version range that does not include the currently running Python interpreter.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.11 | active | — | — |
| 3.12 | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   Install a compatible Python version, e.g., using pyenv: pyenv install 3.12
   ```
2. **** (90% success)
   ```
   Use a virtual environment with the correct Python: python3.12 -m venv venv
   ```

## Dead Ends

- **** — This flag is not supported by pip; it's a misconception. Pip will still enforce the requirement. (100% fail)
- **** — Pip version does not change Python version compatibility; the issue is with the interpreter itself. (90% fail)
