# error: 'setuptools' version '60.0.0' is invalid: invalid version

- **ID:** `python/setuptools-version-parse-error`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The version string in setup.py or pyproject.toml does not conform to PEP 440, causing setuptools to reject it.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   version='1.0.0'  # instead of '1.0.0-beta'
   ```
2. **** (90% success)
   ```
   pip install setuptools_scm; in pyproject.toml: [tool.setuptools_scm]
   ```

## Dead Ends

- **** — May not reflect the actual version; could cause confusion or dependency issues. (70% fail)
- **** — setuptools will not proceed with an invalid version; build fails. (90% fail)
