natural / java2python

Simple but effective library to translate Java source code to Python.
GNU Lesser General Public License v2.1
564 stars 243 forks source link

pip installation failed, 'long' installation works #35

Open funderburkjim opened 9 years ago

funderburkjim commented 9 years ago

Just a mention that might be of use to other users.

I had some problems with installation.
My first try was using the quick 'pip install java2python'

Collecting java2python
  Using cached java2python-0.5.0.tar.gz
Collecting antlr-python-runtime==3.1.3 (from java2python)
←[31m  Could not find a version that satisfies the requirement antlr-python-runt
ime==3.1.3 (from java2python) (from versions: )←[0m
←[33m  Some externally hosted files were ignored as access to them may be unreli
able (use --allow-external antlr-python-runtime to allow).←[0m
←[33m  Some insecure and unverifiable files were ignored (use --allow-unverified
 antlr-python-runtime to allow).←[0m
←[31m  No matching distribution found for antlr-python-runtime==3.1.3 (from java
2python)←[0m

Two minor nitpicks on the action of j2py:

Thanks for making this available. It will save a lot of time in converting a 2000 line Java program.

switchfootsid commented 8 years ago

Thanks @funderburkjim, this helped :)

stixoffire commented 4 years ago

Running J2Py this is what I get.

antlr_version = version_str_to_tuple("3.1.3 Mar 18, 2009 10:09:25") NameError: name 'version_str_to_tuple' is not defined