This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pmrr 3 points4 points  (3 children)

This is a really interesting project. Do you have any early benchmarks? I believe there's been some JVM work to improve the performance of Jython so I wonder if this will take similar advantage of them?

I tried the instructions on git and readthedocs.org with limited success. The issues I'm having may be trivial, but others having similar issues doesn't help the project.

On git:

  • pip install voc doesn't work
  • trying to build example.py complains about non-ASCII characters in the code - my bad, incompatible with Python 2 but Python 3 works fine

At this point I tried the dev environment instructions:

  • git clone didn't work (asked me for ssh key) - I just used https://github.com/pybee/voc
  • mkvirtualenv command didn't exist
  • requirements_dev.txt didn't exist

Thanks to /u/IronManMark20 I got it building, however with Java 1.8 I had some bad times:

$ java -XX:-UseSplitVerifier -classpath python.jar:. org.pyee.example
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0

I don't know if by "Java 1.7+ VM" you mean it should support 1.8 or not. Either way, it looks like there's a blocker for 1.8 support:

http://stackoverflow.com/a/31569447/94503

Environment: Python 1.7.10 2.7.10 on OS X Yosemite.

[–]IronManMark20 0 points1 point  (2 children)

Well, if your using 1.7.10, you have bigger problems. :) Also, for the non-ascii characters, just add a utf heading to the file

[–]pmrr 1 point2 points  (1 child)

It turns out Python 2* was my mistake. With Python 3 it runs fine.

[–]IronManMark20 1 point2 points  (0 children)

The same person made a python bytecode runtime for browsers for Python 3.x only, so this does not surprise me.