# ERROR: pip's dependency resolver conflicts with installed package 'requests==2.25.0' while installing 'mypackage'

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

## Root Cause

The requested package requires a different version of an already installed package, causing a dependency conflict.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.9 | active | — | — |

## Workarounds

1. **Use a virtual environment to isolate dependencies** (95% success)
   ```
   python -m venv myenv
source myenv/bin/activate
pip install mypackage
   ```
2. **Upgrade or downgrade conflicting package** (85% success)
   ```
   pip install 'requests>=2.26.0'
   ```

## Dead Ends

- **Ignoring dependency with --no-deps** — Installs package without dependencies, may break at runtime. (70% fail)
- **Forcing install with --ignore-installed** — Overwrites existing package; may break other installed packages. (60% fail)
