[IPython-dev] Using jupyter_console as embedded shell
Frédéric Mantegazza
mantegazza at ill.fr
Thu Dec 3 02:26:12 EST 2015
Hi!
Is there a direct matching of the InteractiveShellEmbed in
jupyter_console ? I tried to replace:
from IPython.terminal.embed import InteractiveShellEmbed
ipshell = InteractiveShellEmbed(...)
ipshell.mainloop()
with:
from jupyter_console.interactiveshell import ZMQTerminalInteractiveShell
ipshell = ZMQTerminalInteractiveShell(...)
ipshell.mainloop()
but I get an exception:
"/opt/miniconda2/lib/python2.7/site-packages/jupyter_console/interactiveshell.py",
line 460, in wait_for_kernel
self.client.hb_channel.unpause()
AttributeError: 'NoneType' object has no attribute 'hb_channel'
I do have a kernel running (launched with ipython notebook), but I may
need to give the client additional informations?
Thanks for your help,
--
Frédéric MANTEGAZZA CEA-Grenoble
Tel. : 33 (0) 476 207 617 INAC/SPSMS/MDN
Fax : 33 (0) 476 483 906 17, rue des Martyrs
Courriel : mantegazza at ill.fr F-38054 Grenoble Cedex 09
More information about the IPython-dev
mailing list