IPython.kernel.client cannot be imported inside an engine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Confirmed
|
Medium
|
Brian Granger |
Bug Description
Importing IPython.
The twisted reactor is started for the controller and engine
automatically when they start and for the client when
IPython.
IPython.
and the import tries to start the reactor again. This causes
a the ipengine<
subsequently executed commands.
A typical use case when one needs to import IPython.
engines, is when one wants to use one of the engines as a client connected
to another ipcontroller, and it seems impossible to do it,
if one cannot import the client in one of the engines.
Fixing this will require that the core be thread safe and that the reactor runs in a different thread from user code. This should happen this summer.