# ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.11/site-packages/package'

- **ID:** `python/pip-permission-denied`
- **Domain:** python
- **Category:** system_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The user does not have write permissions to the site-packages directory, often due to system Python installation.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   python -m venv venv && source venv/bin/activate && pip install package
   ```
2. **** (80% success)
   ```
   pip install --user package
   ```
3. **** (85% success)
   ```
   pipx install package
   ```

## Dead Ends

- **** — Risky and may corrupt system packages. (50% fail)
- **** — May break system Python integrity. (70% fail)
- **** — Installs to user site but may not be in PATH. (40% fail)
