在Jupyter Lab中摆脱Tabnine,然后在Ubuntu上恢复本机(TAB激活)自动完成20.04

发布于 2025-02-11 16:25:08 字数 533 浏览 2 评论 0原文

我试图摆脱Tabnine,并在Jupyter Lab中恢复正常(TAB激活)自动完成。 首先,我用:
卸载了tabnine Jupyter LabExtension卸载Tabnine
Tabnine消失了,但每隔几秒钟就会在终端上发布新的Jupyter Lab会议,以下警告出现:
[W 2022-06-30 11:51:28.051 ServerApp] 404 Post/Tabnine?1656582688048(127.0.0.0.1)1.78mms Referer = http:// localhost:8889/lab


更重要的是,本地自动完成无法正常工作。 我强迫清洁的jupyter实验室重新安装,但没有改变任何东西。 最后,我只是在寻找所有文件名称tabnine并消除它们(通常不是非常安全的方法),并且它起作用!
引起问题的两个文件是:
.local/etc/jupyter/jupyter_notebook_config/jupyterlab_tabnine.json

I was trying to get rid of tabnine and get back the normal (tab activated) autocomplete in Jupyter Lab.
Firstly I uninstalled TabNine with:
jupyter labextension uninstall tabnine
TabNine was gone but launching a new session of jupyter lab in the terminal every few second the following warning appeared:
[W 2022-06-30 11:51:28.051 ServerApp] 404 POST /tabnine?1656582688048 (127.0.0.1) 1.78ms referer=http://localhost:8889/lab
and more importantly the native autocomplete was not working.
I force a clean reinstall of jupyter lab but did not change anything.
In the end I just looked for all the files names tabnine and eliminate them (not a very safe approach in general) and it work!
The two files causing the problem were:
.local/etc/jupyter/jupyter_notebook_config/jupyterlab_tabnine.json
.local/etc/jupyter/jupyter_server_config/jupyterlab_tabnine.json

I wanted just to leave this here and find out if there would have been a faster and safer solution to get rid of TabNine.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文