# error: command 'gcc' failed: No such file or directory

- **ID:** `python/setuptools-command-not-found`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

When building a Python package with C extensions, setuptools tries to invoke the C compiler, but gcc is not installed or not in PATH.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   apt-get install build-essential (Debian/Ubuntu) or yum install gcc (RHEL)
   ```
2. **** (80% success)
   ```
   pip install --only-binary :all: package
   ```
3. **** (70% success)
   ```
   export CC='clang' if clang is available
   ```

## Dead Ends

- **** — Still fails because the compiler doesn't exist. (100% fail)
- **** — Skips isolation but still needs a compiler. (70% fail)
- **** — Headers are not enough; compiler binary is required. (60% fail)
