Issue2600
Created on 2017-06-28.16:10:38 by stefan.richthofer, last changed 2017-09-05.20:53:29 by zyasoft.
msg11450 (view) |
Author: Stefan Richthofer (stefan.richthofer) |
Date: 2017-06-28.16:10:36 |
|
I stumbled upon this blogpost (http://forum.imagej.net/t/jupyter-notebook-for-imagej/5421/16) that points out missing support for multiprocessing. After some investigation (one has to add '/usr/lib/python2.7/lib-dynload' and '/usr/lib/python2.7' to sys.path), I found that Jython+JyNI is actually capable of importing CPython's _multiprocessing.so.
However, "import multiprocessing" fails with
ImportError: cannot import name _args_from_interpreter_flags
I have not looked what it takes to implement it in Jython yet.
|
msg11473 (view) |
Author: Stefan Richthofer (stefan.richthofer) |
Date: 2017-07-10.22:35:07 |
|
Fixed as of https://hg.python.org/jython/rev/1eab34823d61 by adding subprocess._args_from_interpreter_flags from CPython 2.7.13.
multiprocessing does not yet work with JyNI though, but due to different issues.
|
|
Date |
User |
Action |
Args |
2017-09-05 20:53:29 | zyasoft | set | status: pending -> closed |
2017-07-10 22:35:08 | stefan.richthofer | set | status: open -> pending assignee: stefan.richthofer resolution: fixed messages:
+ msg11473 |
2017-06-28 16:10:38 | stefan.richthofer | create | |
|