# WARNING: The script somecli is installed in '/home/user/.local/bin' which is not on PATH.

- **ID:** `python/pip-install-scripts-not-on-path`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

pip installed the console script into a user-level bin directory that is not included in the shell's PATH.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
   ```
2. **** (90% success)
   ```
   python -m venv .venv && source .venv/bin/activate && pip install somecli
   ```

## Dead Ends

- **** — Installs to system paths and can break the user environment; also creates root-owned files. (80% fail)
- **** — Path configuration is unrelated to reinstall behavior. (95% fail)
- **** — Only works if the package exposes a `__main__` module; many CLI packages do not. (60% fail)
