I was using JupyterLab with the Language server integration with pylint on my old system (Ubuntu 24.04) and it was great! I’ve just upgraded to Ubuntu 26.04 with a completely fresh installation and I reinstalled JupyterLab. From the command line I ran
pip install jupyterlab-lsp python-language-server[all] pylint
and everything installed without error, but I’m not getting any of the LSP functions in my notebooks. There are no language servers showing as running in the sidebar on the left. There’s no mention of any language servers in the command line output when Jupyter starts. Was there anything else I should have done to start the language server (and make it start automatically when I open Jupyter)? I don’t remember doing anything else when I installed it on my old system, I thought it just worked, so is this something to do with the new Ubuntu version?
Thank you, the old language server worked on my previous system even though it would have been out of date then, I was probably following instructions that were old at the time.
So now I’ve done:
pip uninstall python-language-server
pip install "python-lsp-server[all]"
But still no joy, no language server showing as running in Jupyter. I’ve rebooted the computer and even tried uninstalling and reinstalling jupyterlab-lsp
Ah, so one mistake I was making was that I was installing those modules within the base conda environment but then not running Jupyter from it, so that explains with the extension wasn’t showing.
With that now corrected (running jupyter-lab from within the base conda environment), I have “jupyter-lsp-jupyterlab-lsp” showing in my list of extensions and “jedi-language-server (python)” showing in the list of language servers. However, as you can see in the screenshot below, very few of the jupyterlab-lsp functions actually seem to be happening. It’s got the red underline on the incorrect function definition, but no autocomplete or continuous hinting, and not even highlighting the long line of garbage. So what’s missing now?