[英]Jupyter Notebook failed to run %qtconsole
当我在jupyter笔记本上运行%qtconsole时(我使用Windows power-shell0运行jupyter笔记本
错误给出
c:\users\mohit\appdata\local\enthought\canopy\user\lib\site-
packages\IPython\utils\traitlets.py:5:
UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
c:\users\mohit\appdata\local\enthought\canopy\user\lib\site-packages\IPython\utils\pickleutil.py:3:
UserWarning: IPython.utils.pickleutil has moved to ipykernel.pickleutil
warn("IPython.utils.pickleutil has moved to ipykernel.pickleutil")
c:\users\mohit\appdata\local\enthought\canopy\user\lib\site-packages\IPython\utils\jsonutil.py:3:
UserWarning: IPython.utils.jsonutil has moved to jupyter_client.jsonutil
warn("IPython.utils.jsonutil has moved to jupyter_client.jsonutil")
也许您应该尝试这样:
try:
from IPython.parallel import bind_kernel
except ImportError:
# technically possible, because parallel has higher pyzmq min-version
pass
else:
bind_kernel()
然后,在下一个单元格中:
%qtconsole
有关详细信息,您可以键入qtconsole??
在Jupyter。
最上面的导入可能会给您以下消息:
/Users/reblochonmasque/anaconda3/lib/python3.4/site-packages/IPython/parallel.py:13: ShimWarning: The `IPython.parallel` package has been deprecated. You should import from ipyparallel instead.
"You should import from ipyparallel instead.", ShimWarning)
但是根据文档,这还可以。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.