# ModuleNotFoundError: No module named 'pip._internal'

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

## Root Cause

pip installation is corrupted or partially removed, often after manual uninstall or failed pip upgrade. The pip package metadata exists but internal modules are missing.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.8-3.12 | active | — | — |

## Workarounds

1. **** (85% success)
   ```
   python -m ensurepip --upgrade && python -m pip install --upgrade pip
   ```
2. **** (90% success)
   ```
   curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py --force-reinstall
   ```

## Dead Ends

- **** — pip itself is broken, so invoking pip fails before it can reinstall itself. (90% fail)
- **** — System package may install a different pip version incompatible with the current virtualenv or Python interpreter. (40% fail)
