# error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
  File "setup.py", line 5
    print "Hello"
          ^
SyntaxError: Missing parentheses in call to 'print'

- **ID:** `python/pip-egg-info-failed-invalid-syntax`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The package's setup.py uses Python 2 syntax, incompatible with Python 3.

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   Find a newer version of the package that supports Python 3.
   ```
2. **** (70% success)
   ```
   Use `2to3` to convert setup.py, then install with `--no-build-isolation`.
   ```

## Dead Ends

- **** — Python 2 is EOL and may not be available. (90% fail)
- **** — May be overwritten on next install; not sustainable. (60% fail)
