首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Jupyter Notebook无法运行%qtconsole

Jupyter Notebook无法运行%qtconsole
EN

Stack Overflow用户
提问于 2015-09-05 12:51:52
回答 1查看 521关注 0票数 0

当我在jupyter笔记本上运行%qtconsole时(我使用Windows power-shell0运行jupyter笔记本

错误给出

代码语言:javascript
复制
 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")
EN

回答 1

Stack Overflow用户

发布于 2015-09-05 13:09:12

也许你应该试试这个:

代码语言:javascript
复制
try:
    from IPython.parallel import bind_kernel
except ImportError:
    # technically possible, because parallel has higher pyzmq min-version
    pass
else:
    bind_kernel()

然后,在下一个单元格中:

代码语言:javascript
复制
%qtconsole

有关详细信息,可以在Jupyter中输入qtconsole??

顶部的导入可能会显示以下消息:

代码语言:javascript
复制
/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)

但根据医生的说法,这是可以的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32409617

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档