-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
When I try the lfortran test example, got a issue that:
Traceback (most recent call last):
File "/app/conda/bin/lfort", line 3, in
from lfortran.cli import main
File "/app/conda/lib/python3.7/site-packages/lfortran/init.py", line 1, in
from .ast.utils import src_to_ast
File "/app/conda/lib/python3.7/site-packages/lfortran/ast/init.py", line 15, in
from .utils import (src_to_ast, parse_file, dump, print_tree, print_tree_typed,
File "/app/conda/lib/python3.7/site-packages/lfortran/ast/utils.py", line 7, in
from ..parser.parser import antlr_parse
File "/app/conda/lib/python3.7/site-packages/lfortran/parser/parser.py", line 21, in
from .fortranLexer import fortranLexer
File "/app/conda/lib/python3.7/site-packages/lfortran/parser/fortranLexer.py", line 403, in
class fortranLexer(Lexer):
File "/app/conda/lib/python3.7/site-packages/lfortran/parser/fortranLexer.py", line 405, in fortranLexer
atn = ATNDeserializer().deserialize(serializedATN())
File "/app/conda/lib/python3.7/site-packages/antlr4/atn/ATNDeserializer.py", line 28, in deserialize
self.checkVersion()
File "/app/conda/lib/python3.7/site-packages/antlr4/atn/ATNDeserializer.py", line 50, in checkVersion
raise Exception("Could not deserialize ATN with version " + str(version) + " (expected " + str(SERIALIZED_VERSION) + ").")
Exception: Could not deserialize ATN with version (expected 4).
Seems Like Lfortran in conada is disabled.
I also tried run lfort single, also get the same problem.