# ERROR: Cannot install package1 and package2 because they have conflicting dependencies. Resolver: Circular dependency detected: package1 -> package2 -> package1

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

## Root Cause

The dependency graph contains a cycle, making it impossible to satisfy all requirements.

## Version Compatibility

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

## Workarounds

1. **** (80% success)
   ```
   pip install package1==1.1 package2==2.1  # versions that don't depend on each other
   ```
2. **** (70% success)
   ```
   pip install package1 package2 --use-deprecated=legacy-resolver
   ```

## Dead Ends

- **** — Ignores dependencies entirely, but the cycle remains; runtime errors are likely. (60% fail)
- **** — The cycle is inherent; order does not resolve it. (90% fail)
