Skip to content

Minor update on installation of ANTLR Runtime #28

Open

Description

@ekta1007

Please modify
install ANTLR Runtime
wget http://www.antlr3.org/download/antlr-3.1.3.tar.gz

from wget http://www.antlr.org/download/antlr-3.1.3.tar.gz
Antlr no longer hosts the 3.1.3 at the "base" link.

[Comments : I also tried with antlr4-4.0.tar.gz ,surprisingly the ANTLR directory structure for v4 does not have runtime/python folder, so setup doesnot go through . Since java2python explicitly needs the antlr3, so fails, hence recommendation to correct in the installation docs here[for the benefit of other novice programmers like me]

Activity

  1. added a commit that references this issue on Sep 18, 2013
  2. jgandert commented on Dec 28, 2014

    @jgandert

    Hi! Is this why java2python via pip fails to install?

    Downloading/unpacking java2python
      Downloading java2python-0.5.0.tar.gz (138kB): 138kB downloaded
      Running setup.py (path:/tmp/pip_build_root/java2python/setup.py) egg_info for package java2python
    
    Downloading/unpacking antlr-python-runtime==3.1.3 (from java2python)
      Could not find any downloads that satisfy the requirement antlr-python-runtime==3.1.3 (from java2python)
      Some externally hosted files were ignored (use --allow-external antlr-python-runtime to allow).
    Cleaning up...
    No distributions at all found for antlr-python-runtime==3.1.3 (from java2python)
    Storing debug log for failure in ~/.pip/pip.log
    
  3. ekta1007 commented on Dec 29, 2014

    @ekta1007
    Author

    IMO - it just a bad error message with setup.py. This is a known issue,when installing a python egg(see reference below). You could use --allow-external, or --allow-unverified option with pip to install(more on the syntax with "pip help install" ). I also see that there are two versions, 3.1.2 and 3.1.3 . You could download the tar and run setup.py from the unzipped tar, location : https://pypi.python.org/simple/antlr-python-runtime/ . See also similar issue with "bad error message"while installing with pip -: pypa/pip#1423

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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