antlr / antlr3

antlr v3 repository (pulled from p4 with history from //depot/code/antlr/antlr3-main
http://www.antlr.org
241 stars 170 forks source link

antlr3 python ANTLR version mismatch #203

Open XiaoshanLin9701 opened 3 years ago

XiaoshanLin9701 commented 3 years ago

I installed antlr 3.1.3 python-runtime library for python 2.7 by running the setup.py file. But when I run my code, it throws an error: RuntimeError: ANTLR version mismatch: The recognizer has been generated by V3.0.1, but this runtime is V3.1.3. Please use the V3.0.1 runtime.

The recognizer comes with 3.1.3 library. I don't know why it is wrong. I try to change the recognizer version to 3.1.3 and it's still not working.

Could you help me with that issue?

priyankahdp commented 3 years ago

seeking for answer to the same