The old "antlr-4.7.2-complete.jar" creates ATN serializations that cannot be deserialized anymore with the latest antlr4 python3 runtime. The antlr runtime will show the following error message:
Exception: Could not deserialize ATN with version (expected 4).
It is necessary to upgrade to the latest antlr.jar or use the antlr4 executable that ships with the Python 3 package antlr4-python3-runtime.
The old "antlr-4.7.2-complete.jar" creates ATN serializations that cannot be deserialized anymore with the latest antlr4 python3 runtime. The antlr runtime will show the following error message:
Exception: Could not deserialize ATN with version (expected 4).
It is necessary to upgrade to the latest antlr.jar or use the
antlr4
executable that ships with the Python 3 packageantlr4-python3-runtime
.