1

我正在使用 django-extensions 并运行shell_plus --kernel它并输出:

To connect another client to this kernel, use: --existing kernel-6690.json

然后我尝试连接 Jupyter:

$ jupyter notebook --existing=kernel-6690.json [W 10:44:59.290 NotebookApp] Unrecognized alias: '--existing=kernel-6690.json', it will probably have no effect. ...

为什么 Jupyter 不连接到内核?

4

1 回答 1

2

查看https://github.com/ipython/ipython/issues/4066,笔记本似乎无法连接到内核。换句话说,对于所有关于 Jupyter notebook 如何被分离到内核和前端的讨论,实际上并非如此,而且这些信息也没有写在我能找到的任何文档中。

Jupyter notebook 不支持连接到现有内核。shell_plus --notebook确实足够接近我想要的。

于 2016-02-10T21:37:13.387 回答