Embedding IPython Qt console in a PyQt application addresses this question, but the latest answers are from 2014. Apparently things have changed since then, because the following code gives warnings:
from IPython.qt.inprocess import QtInProcessKernelManager
from IPython.qt.console.rich_ipython_widget import RichIPythonWidget
gives:
local/lib/python2.7/site-packages/IPython/qt.py:13: ShimWarning: The `IPython.qt` package has been deprecated. You should import from qtconsole instead.
But QtInProcessKernelManager
is only present in IPython.qt.inprocess
.
What's the non-deprecated way to embed a IPython Qt console in a PyQt application?