Closed Redhawk18 closed 1 month ago
@Redhawk18 looks like you have a fix for this in your fork. Do you plan on upstreaming that?
@Redhawk18 looks like you have a fix for this in your fork. Do you plan on upstreaming that?
Sure, bit I don't have merge rights the pr is open. Since it's been so long it now conflicts with what I originally wrote.
FWIW I just got things working by switching from the Microsoft Store installation, to using the installer from python.org (no patches to Mason)
I don't use that computer anymore so its not an issue.
I also have this same issue. What can I do for helping?
The windows store python related problems are a bug from vim - https://github.com/vim/vim/commit/40fd7e665260c9227d6d90b17a301a1bc47f7f5b
Mason is checking via vim.fn.executable()
if a command is in the path, which fails to detect the app executaion aliases that the windows store version of python produces.
As a very stupid hack to work around that until the fix gets into neovim, you can just make a scoop shim to the execution alias, or probably even make a script to just execute the execution alias.
This also works for the store version of Julia, and with NanaZip.
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
On windows python's default path value is
py
, Currently I'm trying to create a symlink but it's harder than you would think.Expected behavior
to check
py
as a candidate.Affected packages
black, pydocstring
Mason output
Installation log
Neovim version (>= 0.7)
NVIM v0.9.5 Build type: RelWithDebInfo LuaJIT 2.1.1703942320 Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe /MD /Zi /O2 /Ob1 -W3 -wd4311 -wd4146 -DUNIT_TESTING -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -DMSWIN -DINCLUDE_GENERATED_DECLARATIONS -ID:/a/neovim/neovim/.deps/usr/include/luajit-2.1 -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include -ID:/a/neovim/neovim/build/cmake.config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include
system vimrc file: "$VIM\sysinit.vim" fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"
Operating system/version
windows 10
Healthcheck
Screenshots
No response