Open zaoqi opened 5 years ago
@zaoqi
I ran into the same issue. My problem was that I was trying to run using Python3. I found [here] that java2Python requires Python2.7. Python2.7.9 was the first version with pip capability to I installed this Python version. Ran py -2 -m pip install java2python
and it worked.
I also had run py -2 -m pip install install http://antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz
so I am unsure if this is needed before.
@jurentie Thank you for pointing Python 2.7.9 out. Can you please fix your link in "I found [here] that" part.
Thanks,
even after this when I run j2py HelloWorld.java it shows me j2py is not an internal or external command. PS- I have my PATH variables set to ../Python27 and ../Python27/Scripts
@jurentie I am on a Mac, and when I attempt to run py -2 -m pip install java2python
, it says command not found. Anything I can do?
Never mind! Ran python2.7 -m pip install java2python
and worked succesfully!