当我在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")发布于 2015-09-05 13:09:12
也许你应该试试这个:
try:
from IPython.parallel import bind_kernel
except ImportError:
# technically possible, because parallel has higher pyzmq min-version
pass
else:
bind_kernel()然后,在下一个单元格中:
%qtconsole有关详细信息,可以在Jupyter中输入qtconsole??。
顶部的导入可能会显示以下消息:
/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)但根据医生的说法,这是可以的。
https://stackoverflow.com/questions/32409617
复制相似问题