Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Invalid syntax #14

Open
elgato45 opened this issue Sep 5, 2024 · 1 comment
Open

SyntaxError: Invalid syntax #14

elgato45 opened this issue Sep 5, 2024 · 1 comment

Comments

@elgato45
Copy link

elgato45 commented Sep 5, 2024

Hi Stuart, thanks for your project. I'm trying to run your code but I'm getting this error, I have python version 2.7.18.

python RasPi_Camera_Super8Scanner.py
File "RasPi_Camera_Super8Scanner.py", line 62
def MarlinWaitForReply(MarlinSerialPort: serial.Serial, echoToPrint=True) bool:
^
SyntaxError: invalid syntax

@stuartpittaway
Copy link
Owner

Python 2.7 is quite old now, can you try V3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants