Hunaid2000 opened a new issue, #388: URL: https://github.com/apache/age/issues/388
**Describe the bug** When building from source (following instructions in Readme) it says `Exception: Could not deserialize ATN with version ♥ (expected 4)` Unable to build when package antlr4-python3-runtime installed is version 4.10 or above The issue was also referred in apache-age-python PyPi package repository rhizome-ai/apache-age-python#18 **How are you accessing AGE (Command line, driver, etc.)?** - Command line - Python Driver **What data setup do we need to do?** - Install all required packages given in setup.py or Readme (psycopg2 and antlr4-python3-runtime) **What is the necessary configuration info needed?** - Install antlr4-python3-runtime version 4.10 or above to test the error **What is the command that caused the error?** ```python python setup.py install ``` ``` Traceback (most recent call last): File "C:\Users\hunai\Desktop\AGE\age\drivers\python\setup.py", line 17, in <module> from age import VERSION File "C:\Users\hunai\Desktop\AGE\age\drivers\python\age\__init__.py", line 16, in <module> from . import age File "C:\Users\hunai\Desktop\AGE\age\drivers\python\age\age.py", line 22, in <module> from .builder import ResultHandler , parseAgeValue, newResultHandler File "C:\Users\hunai\Desktop\AGE\age\drivers\python\age\builder.py", line 16, in <module> from .gen.AgtypeLexer import AgtypeLexer File "C:\Users\hunai\Desktop\AGE\age\drivers\python\age\gen\AgtypeLexer.py", line 106, in <module> class AgtypeLexer(Lexer): File "C:\Users\hunai\Desktop\AGE\age\drivers\python\age\gen\AgtypeLexer.py", line 108, in AgtypeLexer atn = ATNDeserializer().deserialize(serializedATN()) File "C:\Users\hunai\AppData\Local\Programs\Python\Python310\lib\site-packages\antlr4\atn\ATNDeserializer.py", line 28, in deserialize self.checkVersion() File "C:\Users\hunai\AppData\Local\Programs\Python\Python310\lib\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). ``` **Expected behavior** Should be able to successfully build from source. **Environment (please complete the following information):** - Version: 1.1.0 Documentation of [apache-age-python](https://pypi.org/project/apache-age-python/ ) package should also be updated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@age.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org