# ModuleNotFoundError: No module named 'uvicorn'

- **ID:** `python/starlette-no-module-named-uvicorn`
- **Domain:** python
- **Category:** module_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

FastAPI/Starlette does not bundle an ASGI server; uvicorn was never installed in the active environment.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   Install server extra:
pip install 'fastapi[standard]'  # or: pip install uvicorn
   ```
2. **** (85% success)
   ```
   Verify the interpreter matches:
which python && python -m uvicorn --version
   ```

## Dead Ends

- **** — fastapi does not depend on uvicorn by default. (80% fail)
- **** — The module import still fails before any server starts. (85% fail)
