# error in setup.cfg: command 'install' has no such option 'prefix'

- **ID:** `python/setuptools-setup-cfg-invalid`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

An invalid option is specified in setup.cfg for the install command.

## Version Compatibility

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

## Workarounds

1. **Correct the option name in setup.cfg** (90% success)
   ```
   Change 'prefix' to 'prefix=' or remove it if not needed
   ```
2. **Move options to setup.py** (80% success)
   ```
   Use setup(..., options={'install': {'prefix': '/usr/local'}})
   ```

## Dead Ends

- **Ignoring the error and continuing** — Installation may fail later. (50% fail)
- **Removing the whole [install] section** — May lose necessary settings. (30% fail)
