Cannot import name 'AsyncMultiKernelManager' with custom notebook image #5665
Closed
Description
I've added new packages (ffmpeg, libsm6, libxext6
) to existing tf notebook dockerfile.
Pod is affected by CrashLoopBackOff, log:
Traceback (most recent call last):
File "/usr/local/bin/jupyter-lab", line 5, in <module>
from jupyterlab.labapp import main
File "/usr/local/lib/python3.6/dist-packages/jupyterlab/__init__.py", line 7, in <module>
from .labapp import LabApp
File "/usr/local/lib/python3.6/dist-packages/jupyterlab/labapp.py", line 15, in <module>
from jupyterlab_server import slugify, WORKSPACE_EXTENSION
File "/usr/local/lib/python3.6/dist-packages/jupyterlab_server/__init__.py", line 4, in <module>
from .app import LabServerApp
File "/usr/local/lib/python3.6/dist-packages/jupyterlab_server/app.py", line 11, in <module>
from jupyter_server.extension.application import ExtensionApp, ExtensionAppJinjaMixin
File "/usr/local/lib/python3.6/dist-packages/jupyter_server/extension/application.py", line 21, in <module>
from jupyter_server.serverapp import ServerApp
File "/usr/local/lib/python3.6/dist-packages/jupyter_server/serverapp.py", line 75, in <module>
from .services.kernels.kernelmanager import MappingKernelManager, AsyncMappingKernelManager
File "/usr/local/lib/python3.6/dist-packages/jupyter_server/services/kernels/kernelmanager.py", line 20, in <module>
from jupyter_client.multikernelmanager import MultiKernelManager, AsyncMultiKernelManager
ImportError: cannot import name 'AsyncMultiKernelManager'