# ERROR: Ignored installed distribution because it is installed in a non-user location

- **ID:** `python/pip-install-ignore-installed`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Pip detects a package installed in system directories and refuses to overwrite it without --user or --upgrade flags.

## Version Compatibility

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

## Workarounds

1. **Install with --user flag** (90% success)
   ```
   pip install --user package_name
   ```
2. **Use a virtual environment** (95% success)
   ```
   python -m venv myenv && source myenv/bin/activate && pip install package_name
   ```

## Dead Ends

- **Forcing reinstall with --force-reinstall** — May still conflict with system permissions. (50% fail)
- **Deleting the system package manually** — Risky and may break system dependencies. (70% fail)
