解决kite在jupyter lab中显示not running问题

1、问题描述

在anaconda中启动jupyter lab前,安装了jupyterlab-kite。重启jupyter lab,不可以正常使用kite,显示not running

尝试过重装jupyterlab、jupyterlab-kite等各种方式,但都不管用。经过多次试验与网上查找了诸多文献后,终于发现了问题所在并成功解决。

2、解决过程

简单的说,就是jupyterlab版本是3.2.6及以前版本才兼容kite,当jupyterlab版本高于3.2.6的,则不支持。而本人pip下载过后的jupyterlab是3.6+的高版本,不支持kite使用。

所以,得首先降低版本,执行下载指定版本的jupyterlab:

c 复制代码
pip install jupyterlab==3.2.6

然后再下载kite:

c 复制代码
pip install "jupyterlab-kite>=2.0.2"

重启jupyterlab,就能看到kite显示为可用状态。新建或打开.ipynb 文件,敲代码,会弹出 Kite 实现自动补全选项。

至此,成功解决了jupyterlab安装kite插件后显示not running的问题。

相关推荐
金銀銅鐵10 小时前
[Python] 从《千字文》中随机挑选汉字
后端·python
cup1115 小时前
[技术复盘] Windows Python 打包实战:Nuitka 环境踩坑总结与 CI 自动化构建全指南
python·ai·环境变量·ci·nuitka·skill
aqi0017 小时前
15天学会AI应用开发(七)有了大模型为什么还要引入RAG
人工智能·python·大模型·ai编程·ai应用
金銀銅鐵19 小时前
用 Python 实现 Take-Away 游戏
python·游戏
copyer_xyf19 小时前
Agent 流程编排
后端·python·agent
copyer_xyf20 小时前
Agent RAG
后端·python·agent
copyer_xyf20 小时前
【RAG】向量数据库:milvus
后端·python·agent
copyer_xyf20 小时前
Agent 记忆管理
后端·python·agent
星云穿梭1 天前
用Python写一个带图形界面的学生管理系统——完整教程
python