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

Pylama breaks with python 3.7 SyntaxError #128

Closed
luqasz opened this issue Aug 18, 2018 · 2 comments
Closed

Pylama breaks with python 3.7 SyntaxError #128

luqasz opened this issue Aug 18, 2018 · 2 comments

Comments

@luqasz
Copy link

luqasz commented Aug 18, 2018

Traceback (most recent call last):
  File "/Users/lkostka/.virtualenvs/librouteros/bin/pylama", line 7, in <module>
    from pylama.main import shell
  File "/Users/lkostka/.virtualenvs/librouteros/lib/python3.7/site-packages/pylama/main.py", line 10
    from .async import check_async
              ^
SyntaxError: invalid syntax

This is because python 3.7 introduces async and await as reserved keywords.

@pyfx
Copy link

pyfx commented Aug 20, 2018

@luqasz You need to install pylava for python 3.7 support. pip install pylava. https://github.com/pyfocus/pylava

@luqasz
Copy link
Author

luqasz commented Aug 20, 2018

Thx

@luqasz luqasz closed this as completed Aug 20, 2018
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