py-onym icon indicating copy to clipboard operation
py-onym copied to clipboard

cannot execute script error on line 24

Open Adrianahwjsgsj opened this issue 3 years ago • 4 comments

The error is:

File "tellonym.py", line 24
def send(self, message) -> bool:
SyntaxError: invalid syntax

I'm running it on raspbian os. Any help would be appreciated. Thanx.

Adrianahwjsgsj avatar Jun 17 '21 15:06 Adrianahwjsgsj

Run python -V and paste the output.

target111 avatar Jun 17 '21 18:06 target111

Python 2.7.16

Adrianahwjsgsj avatar Jun 20 '21 12:06 Adrianahwjsgsj

This program requires python3 to work. Install the latest version from your package manager or from the official website. Also, you really shouldn't be using python2 anymore since it's reached EOL.

target111 avatar Jun 20 '21 12:06 target111

ok, thanx

Adrianahwjsgsj avatar Jun 21 '21 17:06 Adrianahwjsgsj