在远程服务器上使用ein(emacs ipython notebook)

Wan*_*ind 5 python emacs remote-access ipython

我已经安装并配置了ein(emacs ipython notebook)来在我的本地linux/mac机器上工作.但是,我想使用ein在远程服务器上打开ipython笔记本并在ein中运行它们.这是否可能,如果是这样,有人可以告诉我如何做到这一点?

小智 3

M-x ein:notebooklist-open <enter>
Run Code Online (Sandbox Code Playgroud)

ein 提示返回

URL or port number (default 8888):
Run Code Online (Sandbox Code Playgroud)

此时输入 ipython-server 运行位置的完整 HTTP-URL,例如

http://192.168.1.7:8888
Run Code Online (Sandbox Code Playgroud)

(在 ipython 服务器端 - 默认情况下它仅在 localhost:8888 上运行。您应该使用以下内容启动它:

ipython notebook --ip="*"
Run Code Online (Sandbox Code Playgroud)

)。例如请参阅