-
-
Notifications
You must be signed in to change notification settings - Fork 281
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 uses my system's python bin instead of the one specified by python3_host_prog #505
Comments
Hello! Mason actually tries to use |
Hello @williamboman, thank you for the reply. I am pretty certain that provider: health#provider#check
========================================================================
## Python 3 provider (optional)
- INFO: Using: g:python3_host_prog = "~/.envs/nvim/bin/python"
- INFO: Executable: /Users/<me>/.envs/nvim/bin/python
- INFO: Python version: 3.10.4
- INFO: pynvim version: 0.4.3
- OK: Latest pynvim is installed.
## Python virtualenv
- OK: no $VIRTUAL_ENV |
Ah, the |
#519 should hopefully fix this |
Thanks man, appreciate the fix 👍🏻 |
Problem description
Mason is using my system's
python
(and thereforepip
) to install python packages required for my installed tools. I use a conda environment to separate my nvim tools from the rest of my system, but mason is breaking this separation. Is this a bug or a feature? If a feature, could we have apython_path
config option which defaults to the python path defined bypython3_host_prog
or the system's python path but which could also be set to some other binary (e.g., one in a venv)?Thanks!
Neovim version (>= 0.7)
NVIM v0.8.0-dev-1121-g10196f1b4-dirty
Build type: Release
LuaJIT 2.1.0-beta3
Operating system/version
MacOS; Darwin Kernel Version 21.6.0; arm64
I've recently downloaded the latest plugin version of mason.nvim
Actual behavior
Uses system's python and pip.
Expected behavior
To use the python and pip binaries as specified by python3_host_prog.
Healthcheck output
Screenshots
No response
The text was updated successfully, but these errors were encountered: