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

Unicode error with python3 #23

Open
seanbrhn3 opened this issue Apr 12, 2018 · 3 comments
Open

Unicode error with python3 #23

seanbrhn3 opened this issue Apr 12, 2018 · 3 comments

Comments

@seanbrhn3
Copy link

I was running a script that imported itty and whenever I run it using python3 I get this error:
Traceback (most recent call last):
File "connect_cisco_bot.py", line 1, in
from itty import post, run_itty
File "/home/ubuntu/.local/lib/python3.5/site-packages/itty.py", line 588
except UnicodeError, e:
^
SyntaxError: invalid syntax

When I run it with python2.7 it works fine.

@frdante
Copy link

frdante commented Apr 26, 2019

I'm getting the same issue using Python 3.7.3 in environment mode:

File "test.py", line 3, in
from itty import *
File "/Users/yyy/Documents/projects/python/log/lib/python3.7/site-packages/itty.py", line 588
except UnicodeError, e:
^
SyntaxError: invalid syntax

@astrieanna
Copy link

I get the same issue using Python 3.9.9 on mac:

>>> from itty import get, run_itty
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/itty.py", line 588
    except UnicodeError, e:
                       ^
SyntaxError: invalid syntax

@astrieanna
Copy link

🤦🏻‍♀️ Ok, I found the correct repo for python3 support: https://github.com/toastdriven/itty3/

(Just leaving a breadcrumb here for anyone else who ends up here.)

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

3 participants