You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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]
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
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
Activity
Update ANTLR remote location
jgandert commentedon Dec 28, 2014
Hi! Is this why java2python via pip fails to install?
ekta1007 commentedon Dec 29, 2014
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