Skip to content

Error when running example code: name 'version_str_to_tuple' is not defined #11

@rdempsey

Description

@rdempsey

Hello!

I downloaded all of the example files and tried running them. Below are my error results. I'm using:

  • Python 2.7.9
  • antlr-python-runtime 3.4
  • intellect 1.4.9

Output when running the example code:

File "//anaconda/lib/python2.7/site-packages/intellect/grammar/PolicyParser.py", line 129, in PolicyParser
antlr_version = version_str_to_tuple("3.1.3 Mar 17, 2009 19:23:44")
NameError: name 'version_str_to_tuple' is not defined

Is there something I can do to remedy this?

Thanks!

  • Robert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions