# alembic.util.exc.CommandError: No config file 'alembic.ini' found, or file has no '[alembic]' section

- **ID:** `python/sqlalchemy-missing-alembic-config`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Alembic is not initialized in the project, or the config file is missing/incomplete.

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   alembic init alembic
# Then configure alembic.ini with database URL
   ```

## Dead Ends

- **** — May create default config but not custom settings. (40% fail)
- **** — Missing required sections cause parsing errors. (60% fail)
