Jupyter笔记本/实验室无法启动

时间:2019-03-16 11:59:02

标签: anaconda jupyter-notebook jupyter-lab

我在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

这是在我点安装jupytertheam之后开始发生的 我将其删除并重新安装了conda,但此问题仍然存在。

3 个答案:

答案 0 :(得分:0)

我面临着同样的问题。我将Windows 10 python 3.6 anaconda环境的笔记本版本降级了。

 pip uninstall notebook 
 pip install notebook==5.7.5

如果您仍然有问题。那么以下链接可能会有所帮助:- https://github.com/jupyter/notebook/issues/4467

https://github.com/jupyter/notebook/issues/1627

答案 1 :(得分:0)

什么是白屏或黑屏? 在您的控制台中,jupyter似乎启动良好。 您是否访问了控制台中提到的网址?

以下解决方案基于我的个人经验。我希望这会有所帮助(即使我不确定您的概率是多少):

复制http://localhost:8888而不是带有令牌的整个url,通常会有一个登录网页。 如果不 尝试使用此cmd重定向您的端口,则可能是8888被占用了: jupyter实验室--port = 8889 并在浏览器中尝试http://localhost:8889

答案 2 :(得分:-1)

在终端类型下载:

pip install jupyter lab

打开类型:

jupyter-lab

--如果你已经做过,再做一遍--