# /usr/bin/python3: No module named pip

- **ID:** `python/pip-module-not-found-no-module-named-pip`
- **Domain:** python
- **Category:** module_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The interpreter has no pip installed (common on minimal Debian/Ubuntu images where python3-pip is a separate package, or a freshly built/embedded Python without ensurepip).

## Version Compatibility

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

## Workarounds

1. **** (85% success)
   ```
   python3 -m ensurepip --upgrade
python3 -m pip install --upgrade pip
   ```
2. **** (90% success)
   ```
   sudo apt-get install -y python3-pip  # Debian/Ubuntu
# or
sudo dnf install -y python3-pip
   ```
3. **** (80% success)
   ```
   curl -sS https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
   ```

## Dead Ends

- **** — pip isn't installed, so the command itself fails. (95% fail)
- **** — pip isn't present anywhere on disk. (90% fail)
- **** — Only works if that interpreter has pip; the target one still doesn't. (70% fail)
