我jupyter notebook
的版本4.2
我MacOS
(10.9.5)
我jupyter lab
在MacOS终端启动,它会在以下链接自动打开浏览器:http://localhost:8888/lab
此时我看到了Welcome to the JupyterLab Alpha preview
屏幕,但仅此而已.没有标签等.请参阅我已包含的图像.
我正在使用Chromium
(Version 43.0.2357.130 (64-bit)
).当我尝试在Safari
浏览器中打开时绝对没有任何负载.它是空白的浏览器会话.
我在浏览器中看到的内容与我JupyterLab
在youtube上的所有视频中看到的任何内容都不相同(PyData 2016 DC
例如).
很明显,渲染有问题.
更新:
控制台中的输出:
WebSocket connection to 'ws://localhost:8888/terminals/websocket/1' failed: WebSocket is closed before the connection is established. http://localhost:8888/api/contents/untitled.txt?1485120059877 Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/api/contents/DeleteMe.ipynb?1485120060078 Failed to load resource: the server responded with a status of 404 (Not Found)
MacOS终端输出:
[I 16:20:58.569 LabApp] JupyterLab alpha preview extension loaded from /Users/user1/anaconda/lib/python2.7/site-packages/jupyterlab [I 16:20:58.570 LabApp] Serving notebooks from local directory: /Users/user1 [I 16:20:58.570 LabApp] 0 active kernels [I 16:20:58.570 LabApp] The Jupyter Notebook is running at: http://localhost:8888/ [I 16:20:58.570 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [W 16:20:59.883 LabApp] No such file or directory: untitled.txt [W 16:20:59.884 LabApp] 404 GET /api/contents/untitled.txt?1485120059877 (::1) 3.88ms referer=http://localhost:8888/lab [I 16:20:59.893 LabApp] New terminal with specified name: 1 [W 16:21:00.095 LabApp] No such file or directory: DeleteMe.ipynb [W 16:21:00.098 LabApp] 404 GET /api/contents/DeleteMe.ipynb?1485120060078 (::1) 5.14ms referer=http://localhost:8888/lab [W 16:22:35.969 LabApp] 404 GET /lab/xterm.js.map (::1) 64.85ms referer=None [W 16:25:30.075 LabApp] No such file or directory: untitled.txt [W 16:25:30.076 LabApp] 404 GET /api/contents/untitled.txt?1485120330069 (::1) 1.74ms referer=http://localhost:8888/lab [W 16:25:30.101 LabApp] 404 GET /lab/xterm.js.map (::1) 3.18ms referer=None [W 16:25:30.296 LabApp] No such file or directory: DeleteMe.ipynb [W 16:25:30.297 LabApp] 404 GET /api/contents/DeleteMe.ipynb?1485120330283 (::1) 1.73ms referer=http://localhost:8888/lab
浏览器控制台的输出:
更新:
这是我观看的Jupyter实验室的特定视频:
JupyterLab:积木......
我所看到的与视频中显示的完全不同.youtube上还有很多其他视频.
更新#2:
我遵循了Feynman27的指示,但是我得到了相同的结果.见屏幕截图.我看到它说的地方Click on the Launcher tab for the initial JupyterLab screen
,但是我无法找到它的位置.
更新#3:
我将浏览器更新为Chromium Version 56.0.2924.87 (64-bit)
.
现在一切正常.我看到了标签.
只需按Ctrl+ Shift+ Enter即可切换显示标签的开/关.通常人们往往会误按,看到它消失
搜索Stackoverflow / Google / Bing时,我在Windows上找不到此问题的答案,并且此线程非常突出,因此在这里是我的Windows专用答案。
CTRL+ SHIFT+ ENTER并没有为我工作。在装有Jupyter 4.4.0和Jupyter Lab 0.35.4的Windows 10上,可以通过单击CTRL+ SHIFT+ D或在菜单中切换选项(视图>单文档模式)使Jupyter Lab中的选项卡可见/隐藏。
Jupiter Lab,用于切换单文档模式的菜单项