JupyterHub内核崩溃

时间:2019-10-03 15:12:46

标签: python jupyter-notebook jupyterhub

我希望很快将jupyterhub服务器组装在一起,但没有骰子。我可以登录并浏览文件系统。一旦创建或启动现有笔记本,我就会得到这个...

this

我正在使用Python3在RHEL7上执行此操作。我尝试使用python3 yum包,并从源代码滚动我自己的包。仍然会遇到同样的问题。这是我第一次尝试使用jupyterhub 1.x,所以我不知道这是否与它有关。

这是我的jupyter疑难解答

    Traceback (most recent call last):
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/web.py", line 1699, in _execute
        result = await result
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/gen.py", line 742, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/notebook/services/sessions/handlers.py", line 72, in post
        type=mtype))
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/gen.py", line 735, in run
        value = future.result()
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/gen.py", line 742, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 88, in create_session
        kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/gen.py", line 735, in run
        value = future.result()
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/gen.py", line 742, in run
        yielded = self.gen.throw(*exc_info)  # type: ignore
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 101, in start_kernel_for_session
        self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/gen.py", line 735, in run
        value = future.result()
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/tornado/gen.py", line 209, in wrapper
        yielded = next(result)
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/notebook/services/kernels/kernelmanager.py", line 168, in start_kernel
        super(MappingKernelManager, self).start_kernel(**kwargs)
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/jupyter_client/multikernelmanager.py", line 110, in start_kernel
        km.start_kernel(**kwargs)
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/jupyter_client/manager.py", line 240, in start_kernel
        self.write_connection_file()
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/jupyter_client/connect.py", line 547, in write_connection_file
        kernel_name=self.kernel_name
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/jupyter_client/connect.py", line 212, in write_connection_file
        with secure_write(fname) as f:
      File "/usr/local/python3.6.9/lib/python3.6/contextlib.py", line 81, in __enter__
        return next(self.gen)
      File "/usr/local/python3.6.9/lib/python3.6/site-packages/jupyter_client/connect.py", line 105, in secure_write
        assert '0600' == oct(stat.S_IMODE(os.stat(fname).st_mode)).replace('0o', '0')
    AssertionError

0 个答案:

没有答案