# ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mypackage 1.0 requires otherpackage<2.0, but you have otherpackage 2.1 which is incompatible.

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

## Root Cause

Installed packages have conflicting version requirements that pip cannot automatically resolve.

## Version Compatibility

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

## Workarounds

1. **Create a new virtual environment and install compatible versions** (90% success)
   ```
   python -m venv fresh_env && source fresh_env/bin/activate && pip install mypackage==1.0 otherpackage==1.9
   ```
2. **Use pip-tools to resolve dependencies** (85% success)
   ```
   pip install pip-tools && pip-compile requirements.in && pip-sync requirements.txt
   ```

## Dead Ends

- **Running pip install --upgrade mypackage** — Upgrading mypackage may still require the conflicting version of otherpackage. (75% fail)
- **Ignoring the warning and continuing** — The conflict may cause runtime import errors or unexpected behavior. (60% fail)
