-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spawning language server with cmd: pyright-langserver
failed. The language server is either not installed, missing from PATH, or not executable.
#17354
Comments
Without below config, lsp can detect my pyright correctly.
Can someone explain why? |
ok, I get it, |
@sukai-cheng Can you provide a copy of your |
I have the same issue when using nvim-lsp-installer and pyright. I'd mistakenly installed the wrong Python LSP from nvim-lsp-installer I think. Worst case scenario, |
Works for me, TKS! |
For me, npm wasn't installed... |
This worked too |
Neovim version (nvim -v)
NVIM v0.7.0-dev+719-gbdfea9d9a
Language server name/version
pyright
Operating system/version
macOS Monterey 12.1
Steps to reproduce using "nvim -u minimal_init.lua"
I installed
nvim-lspconfig
,nvim-lsp-installer
andcmp-nvim-lsp
plugins, also I installed pyright via:LspInstall pyright
,config file for nvim-lspconfig
nvim-lsp-installer
the only difference that made the mentioned error is that I added below config for
nvim-cmp
To reproduce with minimal setup.
Expected behavior
No error should display.
Actuall, If I delete the casuing-error config, pyright can be detected correct and function correctly.
Actual behavior
When I open a python file like this:
nvim test.py
, I get this error:Log file
No response
The text was updated successfully, but these errors were encountered: