# ERROR: setuptools.errors.InvalidConfigError: Entry point 'console_scripts' has invalid format: 'mycommand = mymodule:main:extra'

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

## Root Cause

Entry point syntax has too many colons; expected format is 'name = module:function'.

## Version Compatibility

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

## Workarounds

1. **Correct the entry point format** (95% success)
   ```
   Change to 'mycommand = mymodule:main' (only one colon).
   ```
2. **Use a function that returns the callable** (85% success)
   ```
   Define a function in mymodule that returns main, then use 'mycommand = mymodule:get_main'.
   ```

## Dead Ends

- **Adding more colons to match a pattern** — Increases syntax error. (90% fail)
- **Using a dot instead of colon** — Dot is not a valid separator for entry points. (80% fail)
