gpt4 book ai didi

python-3.x - Docker 上的 Jupyter 内核网关中的 RuntimeError

转载 作者:行者123 更新时间:2023-12-02 19:35:37 25 4
gpt4 key购买 nike

当我尝试在 Docker 上执行 Jupyter Kernel Gateway 时,出现以下错误:

2017-08-03T11:00:51.732015249Z [KernelGatewayApp] 内核关闭:27351426-2078-4101-b3f3-86da41d6e141
2017-08-03T11:00:51.735665285Z Traceback(最近一次通话最后):
2017-08-03T11:00:51.735690921Z 文件“/opt/conda/bin/jupyter-kernelgateway”,第 11 行,在
2017-08-03T11:00:51.735699387Z sys.exit(launch_instance())
2017-08-03T11:00:51.735705691Z 文件“/opt/conda/lib/python3.4/site-packages/jupyter_core/application.py”,第 267 行,在 launch_instance
2017-08-03T11:00:51.735711902Z 返回 super (JupyterApp,cls).launch_instance(argv=argv,**kwargs)
2017-08-03T11:00:51.735717618Z 文件“/opt/conda/lib/python3.4/site-packages/traitlets/config/application.py”,第 591 行,在 launch_instance
2017-08-03T11:00:51.735723686Z app.initialize(argv)
2017-08-03T11:00:51.735731330Z 文件“/opt/conda/lib/python3.4/site-packages/kernel_gateway/gatewayapp.py”,第 212 行,初始化
2017-08-03T11:00:51.735737468Z self.init_configurables()
2017-08-03T11:00:51.735742836Z 文件“/opt/conda/lib/python3.4/site-packages/kernel_gateway/gatewayapp.py”,第 241 行,在 init_configurables
2017-08-03T11:00:51.735748923Z self.kernel_pool = KernelPool(self.prespawn_count, self.kernel_manager)
2017-08-03T11:00:51.735755996Z 文件“/opt/conda/lib/python3.4/site-packages/kernel_gateway/services/kernels/pool.py”,第 27 行,位于 初始化
2017-08-03T11:00:51.735762895Z kernel_id = kernel_manager.start_kernel(kernel_name=self.kernel_manager.parent.seed_notebook['metadata']['kernelspec']['name'])
2017-08-03T11:00:51.735772782Z 文件“/opt/conda/lib/python3.4/site-packages/kernel_gateway/services/kernels/manager.py”,第 71 行,在 start_kernel
2017-08-03T11:00:51.735779471Z 引发 RuntimeError('错误播种内核内存')
2017-08-03T11:00:51.735785063Z RuntimeError:播种内核内存时出错

最佳答案

此错误是由于相应笔记本中的编译错误造成的。

为了尝试,我评论了所有内容,并用 GET 请求注释了一个单元格。

有效!

关于python-3.x - Docker 上的 Jupyter 内核网关中的 RuntimeError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45482450/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com