# error: invalid command 'egg_info'

- **ID:** `python/setuptools-invalid-command-egg-info`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

setuptools not installed or shadowed by an incompatible distutils in the build environment.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   python -m pip install -U pip setuptools wheel
   ```
2. **** (85% success)
   ```
   python -m pip install . --use-pep517
   ```

## Dead Ends

- **** — Same missing setuptools command; fails identically. (90% fail)
- **** — Overkill; the issue is the packaging toolchain, not the interpreter. (85% fail)
