I had jupyter lab 4.0.7 and everything was working great.
I just upgraded to 4.0.9 and now it cannot start. I would love to get some help. I am pretty lost with this error.
I see this weird conflict in the versions of jupyter lab. Is this a problem? (I installed jupyter lab via conda).
% jupyter lab --version
4.0.9
% conda list jupyter
# packages in environment at /Users/roiholtzman/miniconda3:
#
# Name Version Build Channel
jupyter-client 7.4.9 pypi_0 pypi
jupyter-lsp 2.2.1 pyhd8ed1ab_0 conda-forge
jupyter-server-fileid 0.9.0 pypi_0 pypi
jupyter-server-ydoc 0.8.0 pypi_0 pypi
jupyter-ydoc 0.2.5 pypi_0 pypi
jupyter_client 8.6.0 pyhd8ed1ab_0 conda-forge
jupyter_core 5.5.0 py311h6eed73b_0 conda-forge
jupyter_events 0.9.0 pyhd8ed1ab_0 conda-forge
jupyter_server 2.12.1 pyhd8ed1ab_0 conda-forge
jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge
jupyterlab 3.6.6 pypi_0 pypi
jupyterlab_pygments 0.3.0 pyhd8ed1ab_0 conda-forge
jupyterlab_server 2.25.2 pyhd8ed1ab_0 conda-forge
I see that even when I uninstall jupyterlab using conda uninstall jupyterlab
, it somehow survives with the version 3.6.6:
% conda list jupyter
# packages in environment at /Users/roiholtzman/miniconda3:
#
# Name Version Build Channel
jupyter-client 7.4.9 pypi_0 pypi
jupyter-server-fileid 0.9.0 pypi_0 pypi
jupyter-server-ydoc 0.8.0 pypi_0 pypi
jupyter-ydoc 0.2.5 pypi_0 pypi
jupyterlab 3.6.6 pypi_0 pypi
The error when I start jupyter lab is
% jupyter lab
[W 2023-12-09 14:19:59.722 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2023-12-09 14:19:59.756 ServerApp] A `_jupyter_server_extension_points` function was not found in nbclassic. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2023-12-09 14:19:59.756 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-12-09 14:19:59.757 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2023-12-09 14:19:59.761 ServerApp] jupyter_server_fileid | extension was successfully linked.
[I 2023-12-09 14:19:59.763 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2023-12-09 14:19:59.767 ServerApp] jupyter_server_ydoc | extension was successfully linked.
[I 2023-12-09 14:19:59.771 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-12-09 14:19:59.774 ServerApp] nbclassic | extension was successfully linked.
[I 2023-12-09 14:20:00.027 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-12-09 14:20:00.106 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-12-09 14:20:00.109 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2023-12-09 14:20:00.109 FileIdExtension] Configured File ID manager: ArbitraryFileIdManager
[I 2023-12-09 14:20:00.109 FileIdExtension] ArbitraryFileIdManager : Configured root dir: /Users/roiholtzman/Dropbox (Weizmann Institute)
[I 2023-12-09 14:20:00.109 FileIdExtension] ArbitraryFileIdManager : Configured database path: /Users/roiholtzman/Library/Jupyter/file_id_manager.db
[I 2023-12-09 14:20:00.110 FileIdExtension] ArbitraryFileIdManager : Successfully connected to database file.
[I 2023-12-09 14:20:00.110 FileIdExtension] ArbitraryFileIdManager : Creating File ID tables and indices with journal_mode = DELETE
[I 2023-12-09 14:20:00.110 FileIdExtension] Attached event listeners.
[I 2023-12-09 14:20:00.110 ServerApp] jupyter_server_fileid | extension was successfully loaded.
[I 2023-12-09 14:20:00.111 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2023-12-09 14:20:00.112 ServerApp] jupyter_server_ydoc | extension was successfully loaded.
[I 2023-12-09 14:20:00.114 LabApp] JupyterLab extension loaded from /Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyterlab
[I 2023-12-09 14:20:00.114 LabApp] JupyterLab application directory is /Users/roiholtzman/miniconda3/share/jupyter/lab
[E 2023-12-09 14:20:00.114 LabApp] Extension Manager: No manager defined for provider 'pypi'.
[W 2023-12-09 14:20:00.114 ServerApp] jupyterlab | extension failed loading with message: NotImplementedError()
Traceback (most recent call last):
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/manager.py", line 359, in load_extension
extension.load_all_points(self.serverapp)
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/manager.py", line 231, in load_all_points
return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/manager.py", line 231, in <listcomp>
return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/manager.py", line 222, in load_point
return point.load(serverapp)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/manager.py", line 150, in load
return loader(serverapp)
^^^^^^^^^^^^^^^^^
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/application.py", line 474, in _load_jupyter_server_extension
extension.initialize()
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyterlab/labapp.py", line 866, in initialize
super().initialize()
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/application.py", line 436, in initialize
self._prepare_handlers()
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyter_server/extension/application.py", line 326, in _prepare_handlers
self.initialize_handlers()
File "/Users/roiholtzman/miniconda3/lib/python3.11/site-packages/jupyterlab/labapp.py", line 768, in initialize_handlers
raise NotImplementedError()
NotImplementedError
_ _ _ _
| | | |_ __ __| |__ _| |_ ___
| |_| | '_ \/ _` / _` | _/ -_)
\___/| .__/\__,_\__,_|\__\___|
|_|
Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions.
https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html
Please note that updating to Notebook 7 might break some of your extensions.
[I 2023-12-09 14:20:00.119 ServerApp] nbclassic | extension was successfully loaded.
[I 2023-12-09 14:20:00.121 ServerApp] Serving notebooks from local directory: /Users/roiholtzman/Dropbox (Weizmann Institute)
[I 2023-12-09 14:20:00.121 ServerApp] Jupyter Server 2.12.1 is running at:
[I 2023-12-09 14:20:00.121 ServerApp] http://localhost:8888/lab?token=b70d84e7912d54497dd690a9ab6a84a0274bc11aa1ae3e7b
[I 2023-12-09 14:20:00.121 ServerApp] http://127.0.0.1:8888/lab?token=b70d84e7912d54497dd690a9ab6a84a0274bc11aa1ae3e7b
[I 2023-12-09 14:20:00.121 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-12-09 14:20:00.132 ServerApp]
To access the server, open this file in a browser:
file:///Users/roiholtzman/Library/Jupyter/runtime/jpserver-6074-open.html
Or copy and paste one of these URLs:
http://localhost:8888/lab?token=b70d84e7912d54497dd690a9ab6a84a0274bc11aa1ae3e7b
http://127.0.0.1:8888/lab?token=b70d84e7912d54497dd690a9ab6a84a0274bc11aa1ae3e7b
[I 2023-12-09 14:20:01.323 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[W 2023-12-09 14:20:01.601 ServerApp] 404 GET /lab?token=[secret] (4147847e43d44942b41eb0e13dc9eeb5@127.0.0.1) 16.05ms referer=None