docker run -it -p 8888:8888 -p 6006:6006 floydhub/dl-docker:cpu jupyter notebook
执行这条命令之后,打开 127.0.0.1:8888 然后随便打开一个 notebook,kernel 选 python2,然后一直 restart..
报错是:
[I 06:59:41.148 NotebookApp] Adapting to protocol v4.0 for kernel 2b9e6146-e713-48b3-83eb-22132e186f58
Shutting down iTorch
[I 07:00:20.604 NotebookApp] Kernel shutdown: 2b9e6146-e713-48b3-83eb-22132e186f58
[I 07:00:20.624 NotebookApp] Kernel started: 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3
[I 07:00:23.625 NotebookApp] KernelRestarter: restarting kernel (1/5)
[I 07:00:26.635 NotebookApp] KernelRestarter: restarting kernel (2/5)
[I 07:00:29.648 NotebookApp] KernelRestarter: restarting kernel (3/5)
[W 07:00:30.668 NotebookApp] Timeout waiting for kernel_info reply from 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3
[I 07:00:32.659 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3 restarted
[W 07:00:35.673 NotebookApp] KernelRestarter: restart failed
[W 07:00:35.674 NotebookApp] Kernel 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3 died, removing from map.
ERROR:root:kernel 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3 restarted failed!
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.