Jupyter Lab - Kite 已安装但无法正常工作

The*_*Cow 5 python kite jupyter-lab

我一直在尝试在 JupyterLab v2.2.6 中安装 Kite。我已经下载并安装了 Kite,有 node.js 15.0.1 并且运行了控制台命令:

pip install jupyter-kite
jupyter labextension install "@kiteco/jupyterlab-kite"
Run Code Online (Sandbox Code Playgroud)

我对两者都没有问题,当我检查 jupyter 扩展管理器时,它告诉我它已安装

jupyterlab 中的 Kite 缺少某些依赖项错误消息

小智 1

我遇到了同样的问题,对我来说以下方法有效:

重新安装了 Anaconda,然后我更新了(基本)终端中提供的 JupyterLab 版本。(您希望在使用 Anaconda 的相应虚拟环境中更新 JupyterLab。)

conda install -c conda-forge jupyterlab==2.2.9
Run Code Online (Sandbox Code Playgroud)

重新启动 Anaconda 后,Anaconda 中的 JupyterLab 版本应显示 2.2.9。之后,下载 Node.js 并将其安装在您的计算机上。然后按照 Kite 桌面应用程序中的说明通过(基本)终端安装 Jupyter Kite 扩展:

pip install jupyter-kite
jupyter labextension install "@kiteco/jupyterlab-kite"
Run Code Online (Sandbox Code Playgroud)

打开您的 Kite 桌面应用程序,然后Redo Setup单击Home部分下方的 。

在 JupyterLab Kite 中:初始化应该出现在左下角。