-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
mason.nvim doesn't see my python that was installed with pyenv-win #1753
Comments
Can confirm that I am facing the same issue. Mason does not play nice with |
this is also happening to me, hope this gets fixed for all the based pyenv-winpilled users out there |
this is also happening to me |
After spending some time testing stuff out, it seems that Spawn breaks without running the callback, so if you call Here's my naive workaround.
local stock_candidates = platform.is.win and { "python", "python3", "python3.bat", "python.bat" } or { "python3", "python" } |
Thanks @greasycat that works 🫡 |
I am also having this exact same issue. I am using LazyVim |
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
:checkhealth mason reports that it can't find any python.
I installed python 3.11.9 with pyenv-win that was installed with chocolatey and set it as my global so python and pip both run and display as 3.11.9. My windows path also says that the pythons are added to path, however mason.nvim still can't see the python and thus can't install any python packages.
Expected behavior
Python detected as installed on my windows machine and packages install successfully.
Affected packages
All python packages
Mason output
Installation log
Neovim version (>= 0.7)
NVIM v0.11.0-dev-387+g158ffd646
Build type: RelWithDebInfo
LuaJIT 2.1.1720049189
Operating system/version
Windows 10
Healthcheck
Screenshots
This is my output when running pyenv and python commands:
The text was updated successfully, but these errors were encountered: