JupyterHub JupyterLab-ImportError:无法从'jupyter_client.manager'导入名称'AsyncKernelManager'

问题描述

我一直在笔记本模式下的k8s下运行JupyterHub,但现在想切换到JupyterLab。当我第一次启动JupyterLab时,系统会要求我重建内核(失败),所以我宁愿不要重建。下一个:

当我尝试启动python3内核时,在日志(JS控制台和容器后端)中,我得到:

ImportError: cannot import name 'AsyncKernelManager' from 'jupyter_client.manager'

如果我从JupyterLab内部打开终端并执行

python -c "from jupyter_client import AsyncKernelManager"

没问题。

到底该如何进行?

PS这里有一个开放的github票-没有太多信息https://github.com/jupyter/jupyter_client/issues/551

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)