# ModuleNotFoundError: No module named 'some_dependency'

- **ID:** `python/fastapi-dependency-import-error`
- **Domain:** python
- **Category:** module_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A required Python package is not installed in the environment.

## Version Compatibility

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

## Workarounds

1. **** (100% success)
   ```
   Install the package: pip install some_dependency
   ```
2. **** (95% success)
   ```
   Add it to requirements.txt and run pip install -r requirements.txt
   ```

## Dead Ends

- **** — This hides the error but the functionality is still broken. (60% fail)
- **** — If the module isn't installed, relative imports won't help. (80% fail)
