Jupyter实验室退出工作了,我无法重新启动它。
操作系统:赢10
jupyterlab版本:2.2.8
python版本:3.8
浏览器:最新的Chrome
错误是显示了jupyter-lab窗口,但显示如下: 载入中... 载入画面需要很长时间。您要清理工作区还是继续等待? 保持等待-或-清除工作区
如果我选择“保持等待”:jupyter实验室窗口不会激活。 如果我选择“清除工作空间”:jupyter实验室窗口仅会以相同的错误消息重新启动。
当我尝试启动Jupyter Lab时的cmd结果:
c:\Users\champ\Python_proj>jupyter lab --port 8889 [W 21:57:09.947 LabApp] Error loading server extension jupyter_nbextensions_configurator
Traceback (most recent call last):
File "c:\python\python38\lib\site-packages\notebook\notebookapp.py", line 1670, in init_server_extensions
mod = importlib.import_module(modulename)
File "c:\python\python38\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator' [I 21:57:10.645 LabApp] JupyterLab extension loaded from c:\python\python38\lib\site-packages\jupyterlab [I 21:57:10.645 LabApp] JupyterLab application directory is c:\python\python38\share\jupyter\lab [I 21:57:10.819 LabApp] Serving notebooks from local directory: c:\Users\champ\Python_proj [I 21:57:10.819 LabApp] The Jupyter Notebook is running at: [I 21:57:10.819 LabApp] http://localhost:8889/?token= [I 21:57:10.819 LabApp] or http://127.0.0.1:8889/?token= [I 21:57:10.819 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 21:57:10.897 LabApp]
To access the notebook, open this file in a browser:
file:///C:/Users/champ/AppData/Roaming/jupyter/runtime/nbserver-3700-open.html
Or copy and paste one of these URLs:
http://localhost:8889/?token=
or http://127.0.0.1:8889/?token= [I 21:57:14.415 LabApp] 301 GET /lab/workspaces/auto-y/?clone (::1)
0.00ms [I 21:57:16.284 LabApp] Build is up to date
我尝试过:
如果我可以提供有关此问题的更多信息,请告诉我。
答案 0 :(得分:2)
我已经重新安装了python3.8和jupyter。解决了