# TypeError: 'module' object is not callable

- **ID:** `python/typeerror-object-not-callable`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A module is imported and then used as a function, e.g., import os; os() instead of os.getcwd().

## Version Compatibility

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

## Workarounds

1. **Call the correct function from the module** (95% success)
   ```
   import os; os.getcwd()
   ```
2. **Use from module import specific function** (90% success)
   ```
   from os import getcwd; getcwd()
   ```

## Dead Ends

- **Renaming the import** — Renaming does not fix the fundamental misuse of calling a module. (70% fail)
- **Using from module import *** — Wildcard imports can cause name clashes but do not resolve callable issue. (50% fail)
