Comments (3)
A quick fix for me was to modify https://github.com/williamboman/mason.nvim/blob/main/lua/mason-core/installer/managers/pypi.lua#L91:
- local target = resolve_python3(versioned_candidates) or stock_target
+ local target = stock_target
from mason.nvim.
My suggested solution would be to just use stock_target and check if it is compatible. If isn't, throw an error and exit rather than trying to use a non-default python. (But, that could be a breaking change for those that rely on the old behaviour).
from mason.nvim.
Should be fixed in #1736. Note that it will only use the python3
executable in PATH
if it satisfies the python version requirement (if specified by the package).
from mason.nvim.
Related Issues (20)
- Couldn't install luacheck, linking issue HOT 2
- Mason won't install Ltex-ls
- [Docs] Python packages failing to install for Ubuntu (ensurepip is disabled in Debian/Ubuntu for the system python...) HOT 2
- Ubuntu 22.04 in WSL2 "Client pyright quit with exit code 127 and signal 0"
- [New Package]: please add support for `fish_lsp`` HOT 1
- rust-analyzer runs twice when installed by Mason
- Error running eslint: ENOENT: no such file or directory
- Packages installed using PowerShell & pwsh (on Windows) cause an error HOT 1
- JsonSchema error for rust-analyzer configuration schema HOT 3
- Error that won't let me update packages HOT 3
- 3rd party purl resolver api
- Avoid unnecessary warnings in the checkhealth report; perhaps filter which tests to run accordingly.
- Programatical way to register custom mason registry
- Not able to install python packages
- mason.nvim doesn't see my python that was installed with pyenv-win HOT 2
- Unable to install gopls HOT 4
- add linux 7-zip support
- Mason plugin doesn't install mason-registry HOT 4
- Unable to install jinja-lsp (jinja_lsp) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mason.nvim.