1.如果有同学安装过,报错,建议啊,卸载这个插件从新装(本人菜鸟,方法有疏漏,见谅)
pip uninstall jupyter-lsp(第一次可以跳过)
2.安装jupyter-jsp
pip install jupyter-lsp
3.安装frontend extension
jupyter labextension install @krassowski/jupyterlab-lsp
4.安装lsp server
pip install python-language-server
5.启动jupyter lab
6.设置浮动提示
{
"continuousHinting": true
}
7.就可以正常使用啦