Syntax error when loading the library on Python 2.7
Closed this issue · 1 comments
bernatfp commented
Getting the following traceback:
Python 2.7.10 (default, Feb 6 2017, 23:53:20)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import netsgiro
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/netsgiro/__init__.py", line 6, in <module>
from netsgiro.objects import * # noqa: Reexport
File "/Library/Python/2.7/site-packages/netsgiro/objects.py", line 56
def from_records(cls, records: List[Record]) -> 'Transmission':
^
SyntaxError: invalid syntax
Is Python 2.7 supported?
klette commented
Sorry, we only support 3.4 and higher