SyntaxError: invalid syntax in s2_cli.py
Necdilzor opened this issue · 4 comments
Necdilzor commented
Hello,
I'm using Python 3.6.7 and just installed s2protocol via "pip install s2protocol". After reading the tutorial here I tried executing s2_cli.py but I get this syntax error in line 299.
Necdilzor commented
"except Exception, e:" causes the syntax error, maybe this is using Python 2.x? In that case, I couldn't find that mentioned in this repo.
amartin916 commented
I use this with Python 2.X
wroersma commented
#89 fixes this issue. Feel free to install from https://github.com/wroersma/s2protocol/tree/cli until it's merged and test it out!
jrepp commented
Try the python 3 support in master now