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

_init_py #6

Open
Yelena123 opened this issue Jun 21, 2017 · 1 comment
Open

_init_py #6

Yelena123 opened this issue Jun 21, 2017 · 1 comment

Comments

@Yelena123
Copy link

Hello! I am trying to run an example in Mac Terminal. I've got the following error message:
$ echo -e 'Mississippi\nMissouri' | python regroup.py
Traceback (most recent call last):
File "regroup.py", line 7, in
from regroup import DAWG, DAWGRelaxer
File "/Users/yt/regroup/regroup/init.py", line 170
yield from cls._flatten(v, path + k)
^
SyntaxError: invalid syntax
Do you know how to fix this problem? Thank you very much!

@kritikagarg
Copy link

kritikagarg commented Jul 9, 2017

The error is thrown by a bit of code that'd only work on Python 3.3 or newer.

See benoitc/gunicorn#788

check file( .travis.yml ) in regroup

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