如何在IPython(Jupyter)Notebook中的远程机器上添加内核? [英] How do I add a kernel on a remote machine in IPython (Jupyter) Notebook?

查看:476
本文介绍了如何在IPython(Jupyter)Notebook中的远程机器上添加内核?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

本地计算机(PC)上UI右上角的下拉菜单:

Dropdown menu in the top-right of the UI on a local machine (PC):

Kernel-> 
    Change kernel->
        Python 2 (on a local PC)
        Python 3 (on a local PC)
        My new kernel (on a remote PC)


推荐答案

IPython使用内核是〜/ .ipython / kernel /< name>中的文件。 描述如何启动内核。如果您创建自己的内核(远程或其他),您可以让程序运行远程内核并在本地绑定到笔记本所需的端口。

IPython use kernel is a file in ~/.ipython/kernel/<name> that describe how to launch a kernel. If you create your own kernel (remote, or whatever) it's up to you to have the program run the remote kernel and bind locally to the port the notebook is expected.

这篇关于如何在IPython(Jupyter)Notebook中的远程机器上添加内核?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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