Open Lewenhaupt opened 1 year ago
I also tried installing with apt-get but that fails with this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pylsp
Hey @Lewenhaupt, thanks for reporting. Please run in a terminal
sudo apt install libstdc++6 lib32stdc++6
That should fix your problem.
Hey there!
I have a similar issue but no mention of C++ libs:
2024-05-23T09:16:52.936 helix_lsp::transport [ERROR] pylsp err <- "Traceback (most recent call last):\r\n"
2024-05-23T09:16:52.937 helix_lsp::transport [ERROR] pylsp err <- " File \"<frozen runpy>\", line 198, in _run_module_as_main\r\n"
2024-05-23T09:16:52.937 helix_lsp::transport [ERROR] pylsp err <- " File \"<frozen runpy>\", line 88, in _run_code\r\n"
2024-05-23T09:16:52.937 helix_lsp::transport [ERROR] pylsp err <- " File \"~\\scoop\\apps\\python\\current\\Scripts\\pylsp.exe\\__main__.py\", line 4, in <module>\r\n"
2024-05-23T09:16:52.942 helix_lsp::transport [ERROR] pylsp err <- " File \"~\\scoop\\apps\\python\\current\\Lib\\site-packages\\pylsp\\__main__.py\", line 15, in <module>\r\n"
2024-05-23T09:16:52.943 helix_lsp::transport [ERROR] pylsp err <- " from .python_lsp import (PythonLSPServer, start_io_lang_server,\r\n"
2024-05-23T09:16:52.943 helix_lsp::transport [ERROR] pylsp err <- " File \"~\\scoop\\apps\\python\\current\\Lib\\site-packages\\pylsp\\python_lsp.py\", line 9, in <module>\r\n"
2024-05-23T09:16:52.943 helix_lsp::transport [ERROR] pylsp err <- " import ujson as json\r\n"
2024-05-23T09:16:52.943 helix_lsp::transport [ERROR] pylsp err <- "ModuleNotFoundError: No module named 'ujson'\r\n"
I installed pylsp using scoop (Windows) for helix editor.
Not sure what is wrong, installed it with Mason-lsp in neovim and get the following error, any advice is appreciated:
Running pylsp straight from commandline works, but it fails with the same error as above if I add --tcp.
I also tried updating gcc via build-essentials and it's on the latest version but it still doesn't work.