# ERROR: pip's legacy dependency resolver is deprecated. Please upgrade pip to use the new resolver.

- **ID:** `python/pip-unsupported-given-version`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

An older version of pip is being used with a flag or configuration that triggers the legacy resolver.

## Version Compatibility

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

## Workarounds

1. **Upgrade pip to the latest version** (95% success)
   ```
   pip install --upgrade pip
   ```
2. **Use Python 3.11+ which ships with a newer pip** (90% success)
   ```
   python3.11 -m pip install mypackage
   ```

## Dead Ends

- **Using --use-deprecated legacy-resolver** — This is deprecated and may be removed; it's better to upgrade. (70% fail)
- **Ignoring the warning** — The resolver may produce incorrect results or errors. (60% fail)
