Open Xifong opened 3 weeks ago
Hi, I had the same problem and decided to roll back a few commits:
return {
"williamboman/mason.nvim",
build = ":MasonUpdate", -- :MasonUpdate updates registry contents
config = function()
require("mason").setup()
end,
commit='0f1cb65f436b769733d18b41572f617a1fb41f62',
lazy = true
}
The commit above works for me
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
I'm unable to install any packages that Mason needs to create python venvs for. I believe Mason is providing the ensurepip flag to python when creating the venv which falls afoul of:
This is similar to issue https://github.com/williamboman/mason.nvim/issues/729, but not the same because python3-venv is already installed and the following is successful:
I think it's the use of the ensurepip flag which is causing the problem.
Expected behavior
Packages install.
Affected packages
ruff-lsp, jedi-language-server
Mason output
Installation log
Screenshots
No response