将终端IPython连接到现有的笔记本内核 [英] Connect terminal IPython to existing notebook kernel

查看:205
本文介绍了将终端IPython连接到现有的笔记本内核的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 ipython - 存在导致:

[TerminalIPythonApp] CRITICAL |无法识别的标志:' - exists'

有没有办法让IPython笔记本与终端IPython实例共享内核?我更喜欢在终端上通过QT控制台工作,因为我想用tmux管理我的工作流程。谢谢。

Is there any way to have a IPython notebook sharing kernel with a terminal IPython instance? I prefer working in terminal over QT console because I'd like to manage my workflow with tmux. Thanks.

推荐答案

命令是:

ipython console --existing

ipython 启动单进程会话,没有zmq或内核。 ipython console 使用qtconsole和笔记本使用的内核代码启动双进程版本。

ipython starts a single-process session, without zmq or a Kernel. ipython console starts the two-process version with the kernel code used by the qtconsole and notebook.

这篇关于将终端IPython连接到现有的笔记本内核的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆