Jupyter LSP not working for me (original) (raw)

Hi Community!

I seem to have misconfigured the LSP server (for Python specifically). I don’t get any error/warning highlighting and nothing shows up in the diagnostics panel even though:

Hover is working though.

Thanks for any help!

jedi-language-server does not provide any linting (code quality/correctness warning that go to diagnostics panel) except for syntax errors as jedi does not support it. You would want pylsp-language-server for this. You need to go to settings and change the priority of the servers.

jpcaram May 9, 2025, 7:55pm 3

Hi @krassowski , I uninstalled the Jedi server. Now “python-lsp-server (pylsp)” appears under “running”. I tried “pip install pylsp-language-server”, but there is no package with that name. Regardless, the behavior is just the same.

jpcaram May 9, 2025, 8:17pm 4

One more detail. I am getting warnings when editing a .py file, but not on the notebooks.

jpcaram May 14, 2025, 1:47pm 5

@krassowski , anybody?
Thanks in advance.

You may want to open an issue on Sign in to GitHub · GitHub maybe going through the reporting steps could help find something in the logs?

Hi, guys!

Screenshot_1

Tried a lot of things but I think this solved my problem. Jupyter lab Desktop.