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
[root@localhost j2p]# pip2.7 --proxy http://70.10.15.10:8080 --trusted-host pypi.python.org install ./java2python-0.5.1
Processing ./java2python-0.5.1
Requirement already satisfied (use --upgrade to upgrade): java2python==0.5.1 from file:///root/work/j2p/java2python-0.5.1 in /usr/lib/python2.7/site-packages/java2python-0.5.1-py2.7.egg
Collecting antlr_python_runtime==3.1.3 (from java2python==0.5.1)
Could not find a version that satisfies the requirement antlr_python_runtime==3.1.3 (from java2python==0.5.1) (from versions: )
No matching distribution found for antlr_python_runtime==3.1.3 (from java2python==0.5.1)
@pietropino does not solve the issue on my end. I have a suspicion as to why though pip install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz
claims to install antlr-python-runtime, but pip install java2python requires antlr_python_runtime
Although I don't know pip well enough to know whether or not it differentiates between - and _ in module names
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/antlr3'
Consider using the --user option or check the permissions.
Activity
pietropino commentedon May 10, 2018
Same problem here. I solved it this way:
$ sudo pip install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gzThen:
$ sudo pip install java2pythonMegacrafter127 commentedon Aug 31, 2018
@pietropino does not solve the issue on my end. I have a suspicion as to why though
pip install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gzclaims to install
antlr-python-runtime, butpip install java2pythonrequiresantlr_python_runtimeAlthough I don't know pip well enough to know whether or not it differentiates between - and _ in module names
TEJABST commentedon Sep 26, 2018
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/antlr3'
Consider using the
--useroption or check the permissions.1357koushik commentedon Mar 9, 2021
/storage/emulated/0 $ 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
Using cached http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz (76 kB)
ERROR: Command errored out with exit status 1:
command: /data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/ru.iiec.pydroid3/cache/pip-req-build-vlc5iesn/setup.py'"'"'; file='"'"'/data/data/ru.iiec.pydroid3/cache/pip-req-build-vlc5iesn/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 /data/data/ru.iiec.pydroid3/cache/pip-pip-egg-info-fc3e78me
cwd: /data/data/ru.iiec.pydroid3/cache/pip-req-build-vlc5iesn/
Complete output (6 lines):
Traceback (most recent call last):
File "", line 1, in
File "/data/data/ru.iiec.pydroid3/cache/pip-req-build-vlc5iesn/setup.py", line 49
except OSError, exc:
^
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
/storage/emulated/0 $
iam experienceing this error
DonavanMartin commentedon Mar 31, 2022
then finally
j2pydavidalbertonogueira commentedon Apr 18, 2022
Still gives