# package-a 1.0.0 requires package-b<2, but you have package-b 2.3.0 which is incompatible.

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

## Root Cause

An existing package installed outside pip's resolver (e.g., via conda, apt, or a previous --no-deps install) violates a declared dependency constraint.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (92% success)
   ```
   Create a fresh venv and reinstall: python -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt
   ```
2. **** (85% success)
   ```
   Pin the correct version: pip install 'package-b<2'
   ```
3. **** (80% success)
   ```
   Audit with pip check and pipdeptree: pip install pipdeptree && pipdeptree --warn silence
   ```

## Dead Ends

- **** — Runtime imports may resolve to the wrong version and fail with AttributeError or ImportError. (70% fail)
- **** — Force-reinstall may pull in conflicting transitive deps and break other packages in the same env. (60% fail)
- **** — Removes the package you need instead of resolving the conflict. (95% fail)
