在Jupyter Lab中摆脱Tabnine,然后在Ubuntu上恢复本机(TAB激活)自动完成20.04
我试图摆脱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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论