How regenerate lexers and parsers in python. I am new to this and I don't know what to do. The error I got is as follows:
In 'pddlLexer.py': class pddlLexer(Lexer):
In 'pddlLexer.py': atn = ATNDeserializer().deserialize(serializedATN())
In ATNDeserializer.py: self.checkVersion()
In ATNDeserializer.py: raise Exception("Could not deserialize ATN with version " + str(version) + " (expected " + str(SERIALIZED_VERSION) + ").") Exception: Could not deserialize ATN with version (expected 4).
The last error is the one I am trying to resolve.
I was trying to parse a PDDL problem to visualize a plan using the 'planning_graph' package from this link: https://github.com/debbynirwan/planning_graph