Closed dgdsingen closed 1 month ago
+1 seeing this issue when installing pylsp
The PR does indeed fix the issue. I temporarily edited the change into
~/.local/share/nvim/lazy/mason.nvim/lua/mason-core/installer/managers/pypi.lua
(similar with other plugin managers than lazy)
Let Mason run the installations and then changed it back so there won't be issues with updates.
This issue is resolved by #1725
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
When installing the nginx-language-server package, mason chooses wrong python version and the installation fails. Mason chooses the stock python version(3.11.3 installed with pyenv) initially, but then overwrites it with python3.12. nginx-language-server@0.8.0 is installed successfully in Python 3.11, but failed in Python 3.12.
Expected behavior
1. Mason chooses the stock python version rather than versioned candidates.
2. Then nginx-language-server package is installed successfully.
Affected packages
nginx-language-server
Mason output
Installation log
Neovim version (>= 0.7)
NVIM v0.9.5 Build type: Release LuaJIT 2.1.1703358377
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"
Run :checkhealth for more info
Operating system/version
Darwin MacBook-Pro-3.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64
Healthcheck
Screenshots