【问题标题】:Connecting to existing Jupyter server (kernel) on remote machine连接到远程机器上现有的 Jupyter 服务器(内核)
【发布时间】:2017-10-04 17:01:43
【问题描述】:

我看到了类似的问题,但他们指的是旧版本的 jupyter..

我在 AWS 远程机器上的 jupyter notebook 上运行了一个(非常)长的过程,我忘记在计算完成后写入结果数据帧。在某些时候,ssh 连接被终止(Broken pipe),并且浏览器上的笔记本失去了与内核的连接。

我跑了 ps -aux | grep jupyter, ps -aux | grep ipykernel ,发现这个过程仍然存在。

为了重新连接到(现有的)jupyter 内核并保存数据,我应该采取哪些步骤?这可能吗?

【问题讨论】:

    标签: python ipython jupyter-notebook


    【解决方案1】:

    尝试发出命令jupyter notebook list

    这是我电脑的输出

    Currently running servers:
    http://localhost:8888/?token=caxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2e38 :: F:\user\project1
    http://localhost:8888/?token=5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc7f :: F:\user\project2
    

    虽然第一个服务器无效(但前段时间有效),第二个没问题,我可以打开显示的链接。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-07-01
      • 2016-09-30
      • 1970-01-01
      • 2022-01-02
      • 1970-01-01
      • 1970-01-01
      • 2018-10-12
      • 1970-01-01
      相关资源
      最近更新 更多