从PyCharm远程运行jupyter笔记本

问题描述 投票:0回答:1

我正试图远程运行jupyter笔记本。我设置python远程解释器,主机,端口和一切。我甚至用令牌成功连接到jupyter笔记本服务器。问题是我运行一个单元格(打印Hello world)。有一个*标记,但我不确定它是否正在运行。另外我附上了我的jupyter笔记本配置的屏幕截图,并且出现错误“请选择本地python解释器”。

这里有人有同样的问题吗?

我在macOS 10.13.3上使用pycharm build#PY-181.4203.547的试用版。

pycharm keeps asking for local interpreter

pycharm jupyter-notebook jupyter
1个回答
0
投票

我通过创建不在localhost上运行的Jupyter笔记本服务器,但在公共IP 0.0.0.0和端口5000上解决了这个问题。

服务器配置:

Server Config

To access the notebook, open this file in a browser:
        file:///run/user/1001/jupyter/nbserver-18243-open.html
    Or copy and paste one of these URLs:
        http://111.11.11.111:5000/?token=ab6f22d9176774b8dccb08cc87414fe8a64bb58e6cc10910 [I 02:28:19.329 NotebookApp] 302 GET / (69.140.134.16) 0.76ms [I 02:28:19.403 NotebookApp] 302 GET /tree? (69.140.134.16) 0.74ms [I 02:28:19.609 NotebookApp] Kernel started: 306aaa82-b824-4fd0-8b8f-dd35271f79ef [W 02:28:19.689 NotebookApp] No session ID specified [I 02:28:20.122 NotebookApp] Adapting to protocol v5.1 for kernel 306aaa82-b824-4fd0-8b8f-dd35271f79ef
© www.soinside.com 2019 - 2024. All rights reserved.