I'm using Jupyter on several platforms, but for some reason, I can no longer get it to start on Windows 10.
Starting jupyter notebook with the --debug
flag, returns the following information:
The output freezes at that point, no browser is started and tried to open http://localhost:8888
returns no response. The process also does not react to CTRL-C
, it has to be killed.
I've tried the following:
jupyter notebook
, jupyter lab
and jupyter-notebook
.Looking at the process list, I can see jupyter-notebook.exe
and associated process are started.
I can also see that the child python.exe
process is listening on port 8888
.
The output for jupyter troubleshoot
is available here (too exhaustive to paste).
答案 0 :(得分:0)
我将输出与工作环境进行了比较,发现在冻结之后,jupyter通常会加载扩展。所以我执行了以下命令:
jupyter nbextension list
返回:
Known nbextensions:
config dir: c:\dev\venv\jupyter\etc\jupyter\nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: ok
然后我尝试使用jupyter nbextension disable jupyter-js-widgets
禁用扩展名。
再次运行jupyter nbextension list
现在会产生以下输出:
Known nbextensions:
config dir: C:\Users\Admin\.jupyter\nbconfig
notebook section
jupyter-js-widgets disabled
config dir: c:\dev\venv\jupyter\etc\jupyter\nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: ok
Jupyter笔记本现在可以再次使用,但是我还不知道必须禁用扩展会带来什么影响,或者为什么它肯定会成为问题。