【发布时间】:2019-08-07 08:29:18
【问题描述】:
我在 Jupyter Lab 中出现白屏,在 Jupyter Notebook 中出现黑屏。 从命令行或导航器启动都是一样的。
(base) C:\Users\Satish>jupyter lab
[I 17:21:33.289 LabApp] JupyterLab extension loaded from
C:\ProgramData\Anaconda3\lib\site-packages\jupyterlab
[I 17:21:33.289 LabApp] JupyterLab application directory is
C:\ProgramData\Anaconda3\share\jupyter\lab
[W 17:21:33.289 LabApp] JupyterLab server extension not enabled, manually loading...
[I 17:21:33.289 LabApp] JupyterLab extension loaded from
C:\ProgramData\Anaconda3\lib\site-packages\jupyterlab
[I 17:21:33.289 LabApp] JupyterLab application directory is
C:\ProgramData\Anaconda3\share\jupyter\lab
[I 17:21:33.289 LabApp] Serving notebooks from local directory: C:\Users\Satish
[I 17:21:33.289 LabApp] The Jupyter Notebook is running at:
[I 17:21:33.289 LabApp] http://localhost:8888/?
token=b270fb632dd40eecd4f2d4bf150476cc9eaa5b514a20ac04
[I 17:21:33.289 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 17:21:33.351 LabApp]
To access the notebook, open this file in a browser:
file:///C:/Users/Satish/AppData/Roaming/jupyter/runtime/nbserver-7396-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=b270fb632dd40eecd4f2d4bf150476cc9eaa5b514a20ac04
这在我 pip install jupytertheam 后开始发生 我删除了它并重新安装了conda,但这个问题仍然存在。
【问题讨论】:
-
首先,尝试清理浏览器中的缓存/cookies/offline-content。如果这不能解决问题,请运行
jupyter lab build。 -
我收到此错误 ValueError: Please install nodejs 5+ and npm 然后继续安装。 nodejs 可以使用 conda 或直接从 nodejs 网站安装。
-
在我得到的 web consol 中---拒绝执行来自 'localhost:8888/static/components/preact/…' 的脚本,因为它的 MIME 类型('text/plain')不可执行,并且启用了严格的 MIME 类型检查。
-
请将您的 Web 控制台中的详细错误消息粘贴到您的问题中,以帮助其他人更好地分析问题。
标签: anaconda jupyter-notebook jupyter-lab