# ERROR: Cannot install package1==1.0 and package2==2.0 because these package versions have conflicting dependencies.

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

## Root Cause

Two or more packages require incompatible versions of a common dependency.

## 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 package2 --upgrade --constraint constraints.txt
   ```
2. **** (85% success)
   ```
   python -m venv venv && source venv/bin/activate && pip install package1==1.1 package2==1.9
   ```

## Dead Ends

- **** — Ignores the conflict but may cause runtime errors due to missing or wrong dependency versions. (70% fail)
- **** — The conflict remains; pip will still raise the error when resolving the full set. (90% fail)
