Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

JS VM for Python 3

Open gfinocchiaro opened this issue 8 years ago • 3 comments

Running the example from the README:

from js2py.internals import seval
seval.eval_js_vm(code)

I get the following error:

from space import Space
ImportError: No module named 'space'

gfinocchiaro avatar Dec 11 '17 11:12 gfinocchiaro

Oh, that's because you are using Python 3, VM is currently only supported by Python 2, but I will add python 3 support soon. I should have noted that in the readme.

PiotrDabkowski avatar Dec 11 '17 21:12 PiotrDabkowski

Ok, thanks for your clarification.

gfinocchiaro avatar Dec 12 '17 10:12 gfinocchiaro

Given the fact that Python 2 reaches its end-of-life in a couple of days, what is the status concerning Python 3 support?

wiene avatar Dec 22 '19 20:12 wiene