【发布时间】:2020-05-08 23:42:50
【问题描述】:
更新我的 python 版本后,我似乎无法通过命令行启动 jupyter notebook。我刚刚安装了 3.7.7,pip 安装了jupyter,但是当我使用jupyter notebook 通过命令行启动 jupyter 时,它挂起/冻结。我也不能Ctrl-C 控制台,它已完全锁定。不到 2 小时前它还在工作!
我尝试使用--debug 运行它,但在输出后它仍然挂起:
[D 19:37:42.193 NotebookApp] Searching ['C:\\WINDOWS\\system32', 'C:\\Users\\[USERNAME]\\.jupyter', 'c:\\program files\\python37\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
[D 19:37:42.194 NotebookApp] Looking for jupyter_config in C:\ProgramData\jupyter
[D 19:37:42.194 NotebookApp] Looking for jupyter_config in c:\program files\python37\etc\jupyter
[D 19:37:42.194 NotebookApp] Looking for jupyter_config in C:\Users\[USERNAME]\.jupyter
[D 19:37:42.194 NotebookApp] Looking for jupyter_config in C:\WINDOWS\system32
[D 19:37:42.195 NotebookApp] Looking for jupyter_notebook_config in C:\ProgramData\jupyter
[D 19:37:42.195 NotebookApp] Looking for jupyter_notebook_config in c:\program files\python37\etc\jupyter
[D 19:37:42.195 NotebookApp] Looking for jupyter_notebook_config in C:\Users\[USERNAME]\.jupyter
[D 19:37:42.196 NotebookApp] Loaded config file: C:\Users\[USERNAME]\.jupyter\jupyter_notebook_config.py
[D 19:37:42.196 NotebookApp] Looking for jupyter_notebook_config in C:\WINDOWS\system32
[D 19:37:42.197 NotebookApp] Ignoring min_open_files_limit because the limit cannot be adjusted (for example, on Windows)
[D 19:37:42.200 NotebookApp] Paths used for configuration of jupyter_notebook_config:
C:\ProgramData\jupyter\jupyter_notebook_config.json
[D 19:37:42.201 NotebookApp] Paths used for configuration of jupyter_notebook_config:
c:\program files\python37\etc\jupyter\jupyter_notebook_config.json
[D 19:37:42.201 NotebookApp] Paths used for configuration of jupyter_notebook_config:
C:\Users\Jhuessy\.jupyter\jupyter_notebook_config.json
这些文件不在它们各自的目录中,看来我需要找到它们或以某种方式生成它们。任何帮助将不胜感激,谢谢!
Python 版本:Python 3.7.7
jupyter core : 4.6.3
jupyter-notebook : 6.0.3
qtconsole : 4.7.3
ipython : 7.14.0
ipykernel : 5.2.1
jupyter client : 6.1.3
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.6
traitlets : 4.3.3
【问题讨论】:
标签: python windows jupyter-notebook jupyter