You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mason is latching onto a python install that is not the one I want. I am setting the one I want in my PATH, then launching nvim. But :checkhealth shows that Mason is not find the one in my PATH. I do not have g:python3_host_prog set.
I am working from a clean git-clone of kickstart.nvim.
In case it matters, I'm using NVIM_APPNAME to target my kickstart.nvim install.
Figured it out. I had changed my shell env PATH var, but I had not changed it in my .bashrc. Looks like Mason is using login shells to find stuff. I'm ok to move forward, but this doesn't seem like the right thing for Mason to do.
$ type -a python3
python3 is /proj/cot_globals/tools/foss/python/3.12.1/bin/python3
python3 is /proj/cot_globals/envs/globals_python3.11/bin/python3
python3 is /proj/cot_cad/conda/envs/cot_glb_py0/bin/python3
python3 is /usr/bin/python3
python3 is /bin/python3
:checkhealth
mason.nvim [Languages]
OK python: Python 3.11.0rc1
OK python venv: Ok
OK pip: pip 22.0.2 from /proj/cot_globals/envs/globals_python3.11/lib/python3.11/site-packages/pip (python 3.11)
:echo g:python3_host_prog
E121: Undefined variable: g:python3_host_prog
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Mason is latching onto a python install that is not the one I want. I am setting the one I want in my PATH, then launching nvim. But :checkhealth shows that Mason is not find the one in my PATH. I do not have g:python3_host_prog set.
I am working from a clean git-clone of kickstart.nvim.
In case it matters, I'm using NVIM_APPNAME to target my kickstart.nvim install.
Figured it out. I had changed my shell env PATH var, but I had not changed it in my .bashrc. Looks like Mason is using login shells to find stuff. I'm ok to move forward, but this doesn't seem like the right thing for Mason to do.
Beta Was this translation helpful? Give feedback.
All reactions