在我的新 jupyterlab 安装(ubuntu 24.04 上的 python 3.12.3(通过 pyenv))中,没有显示 SHIFT + TAB 工具提示。
这是
$ jupyter --version
的输出:
Selected Jupyter core packages...
IPython : 8.24.0
ipykernel : 6.29.4
ipywidgets : not installed
jupyter_client : 8.6.1
jupyter_core : 5.7.2
jupyter_server : 2.14.0
jupyterlab : 4.2.0
nbclient : 0.10.0
nbconvert : 7.16.4
nbformat : 5.10.4
notebook : not installed
qtconsole : not installed
traitlets : 5.14.3
我已经导入了我想要获取工具提示的模块,所以这不是这里的问题。另外,我不想从某些复杂的表达式中获取工具提示(例如,从
requests.get(url)
请求工具提示不起作用)。
我尝试了两种不同的浏览器,但没有成功。
我也尝试按照建议卸载
jedi
,但没有成功。
我的 python 3.8(也是 pyenv)中也有 jupyterlab,并且 Shift + Tab 在那里工作得很好。
还有什么想法可以尝试吗?
注意有很多问题(
onepip install notebook
,将 jupyterlab 从 4.2.0 降级到 4.1.8,现在工具提示可以正常工作了。