# ValueError: shapes (3,4) and (5,6) not aligned: 4 (dim 1) != 5 (dim 0)

- **ID:** `python/numpy-dot-shape-mismatch`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Matrix multiplication requires inner dimensions to match; here they don't.

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   A @ B.T if B has shape (6,5) and inner matches
   ```
2. **** (85% success)
   ```
   np.einsum('ij,jk->ik', A, B) for explicit control
   ```

## Dead Ends

- **** — Still mismatched unless dims align (85% fail)
- **** — Silently produces wrong result or broadcast error (80% fail)
