2016-07-27 55 views
3

Embedding IPython Qt console in a PyQt application地址這個問題,但最新的答案是從2014年顯然事情已經從那以後改變了,因爲下面的代碼給出警告:獲得iPython/Jupyter嵌入式Qt控制檯的正確方法是什麼?

from IPython.qt.inprocess import QtInProcessKernelManager 
from IPython.qt.console.rich_ipython_widget import RichIPythonWidget 

給出:

local/lib/python2.7/site-packages/IPython/qt.py:13: ShimWarning: The `IPython.qt` package has been deprecated. You should import from qtconsole instead. 

QtInProcessKernelManager只出現在IPython.qt.inprocess

在PyQt應用程序中嵌入IPython Qt控制檯的非棄用方式是什麼?

回答

相關問題