-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: No matching distribution found for antlr_python_runtime==3.1.3 (from java2python==0.5.1) #66
Comments
It does not work for python 3. Try using python 2 |
I tried in python 2.7 and had the same error
|
A workaround:
|
iam getting error |
Any updates? |
I'm getting the same error when attempting to install $ pip install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz
Collecting http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz
Downloading http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz (76 kB)
|████████████████████████████████| 76 kB 936 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-3xazd193/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-3xazd193/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-3xazd193/pip-egg-info
cwd: /tmp/pip-req-build-3xazd193/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-3xazd193/setup.py", line 49
except OSError, exc:
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. I'm not well versed in the nuances of Python versions, but it looks like (in my case) Python 2.7.18 doesn't like the syntax of I think the path forward is to use / port to the |
I'm having trouble installing Java2python. I'm currently using Python version 3.8.2. I'm pretty new to python so I'm not too sure what to do.
The text was updated successfully, but these errors were encountered: