0

我更新了我的 Windows 操作系统,现在 Jupyter Lab 无法访问我之前安装的内核。

我运行 jupyter lab 命令时的代码如下:

C:\Users\fra_g>jupyter lab
[I 2021-08-25 16:43:43.812 ServerApp] jupyterlab | extension was successfully linked.
[W 2021-08-25 16:43:43.843 ServerApp] The 'min_open_files_limit' trait of a ServerApp instance expected an int, not the NoneType None.
[I 2021-08-25 16:43:44.275 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-08-25 16:43:44.277 LabApp] JupyterLab extension loaded from c:\python38\lib\site-packages\jupyterlab
[I 2021-08-25 16:43:44.277 LabApp] JupyterLab application directory is C:\Python38\share\jupyter\lab
[I 2021-08-25 16:43:44.293 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-08-25 16:43:44.295 ServerApp] Serving notebooks from local directory: C:\Users\fra_g
[I 2021-08-25 16:43:44.296 ServerApp] Jupyter Server 1.9.0 is running at:
[I 2021-08-25 16:43:44.299 ServerApp] http://localhost:8888/lab?token=7fe82f754b4f2a3f502feddc2394cfce3e309d60fe1ab3c1
[I 2021-08-25 16:43:44.301 ServerApp]  or http://127.0.0.1:8888/lab?token=7fe82f754b4f2a3f502feddc2394cfce3e309d60fe1ab3c1
[I 2021-08-25 16:43:44.301 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2021-08-25 16:43:44.390 ServerApp]
 
    To access the server, open this file in a browser:
        file:///C:/Users/fra_g/AppData/Roaming/jupyter/runtime/jpserver-15724-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/lab?token=7fe82f754b4f2a3f502feddc2394cfce3e309d60fe1ab3c1
     or http://127.0.0.1:8888/lab?token=7fe82f754b4f2a3f502feddc2394cfce3e309d60fe1ab3c1
[W 2021-08-25 16:43:46.572 ServerApp] Kernel 'Julia 1.5.3' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[W 2021-08-25 16:43:46.597 ServerApp] Kernel 'Julia 1.6.1' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[W 2021-08-25 16:43:46.622 ServerApp] Kernel 'Python 3.8.6 64-bit' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[W 2021-08-25 16:43:46.648 ServerApp] Kernel 'Python 3' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[W 2021-08-25 16:43:47.091 ServerApp] Kernel 'Julia 1.5.3' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[W 2021-08-25 16:43:47.107 ServerApp] Kernel 'Julia 1.6.1' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[W 2021-08-25 16:43:47.145 ServerApp] Kernel 'Python 3.8.6 64-bit' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[W 2021-08-25 16:43:47.176 ServerApp] Kernel 'Python 3' is referencing a kernel provisioner ('local-provisioner') that is not available.  Ensure the appropriate package has been installed and retry.
[I 2021-08-25 16:43:51.207 LabApp] Build is up to date
c:\python38\lib\json\encoder.py:257: UserWarning: date_default is deprecated since jupyter_client 7.0.0. Use jupyter_client.jsonutil.json_default.
  return _iterencode(o, 0)

我只尝试卸载并重新安装 jupyter lab 和 notebook。

4

0 回答 0