antlr3 python ANTLR version mismatch
- Dominant language
- Java
- Stars
- 253
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Python runtime installation through setup.py and compare it with the generated recognizer referenced in the error. Reproduce the version mismatch in Python 2.7 and trace which runtime and generated files are being loaded; done means identifying the source of the mismatch and documenting or fixing a reproducible resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100