Kaggle/docker-python

Jupyter notebook is not working

atsuchiy opened this issue ยท 0 comments

๐Ÿ› Bug

Jupyter notebook is not working on kaggle/python-gpu-build.

To Reproduce

docker run -p 8888:8888 --rm -it kaggle/python-gpu-build jupyter notebook --no-browser --ip="0.0.0.0" --allow-root
When I accessed the URL, it showed "A Jupyter Server is running."

Additional context

Error log here.

[W 2023-10-22 03:16:16.732 ServerApp] notebook | extension failed loading with message: ExtensionLoadingError('_load_jupyter_server_extension function was not found.')
    Traceback (most recent call last):
      File "/opt/conda/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 356, in load_extension
        extension.load_all_points(self.serverapp)
      File "/opt/conda/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in load_all_points
        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
      File "/opt/conda/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 228, in <listcomp>
        return [self.load_point(point_name, serverapp) for point_name in self.extension_points]
      File "/opt/conda/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 219, in load_point
        return point.load(serverapp)
      File "/opt/conda/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 146, in load
        loader = self._get_loader()
      File "/opt/conda/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 115, in _get_loader
        loader = get_loader(loc)
      File "/opt/conda/lib/python3.10/site-packages/jupyter_server/extension/utils.py", line 47, in get_loader
        raise ExtensionLoadingError(msg) from None
    jupyter_server.extension.utils.ExtensionLoadingError: _load_jupyter_server_extension function was not found.