Closed Aricg closed 11 months ago
@Aricg are you maybe on an old version? Should have been fixed by #9 I think
I just installed lunarvim today and am trying to get started with trying to understand it and I'm still getting this error too.
I'm going to make the assumption that it's going to be pulling from the main branch by default? So I should be pulling what ever fixed was applied in #9 right?
My other question is related to the fact that I use both poetry and pipenv and both of these libraries create the virtualenvs in different locations.
how can I specify the both of these?
Turns out I wasn't using this repo. I was instead following a blog post which used a fork! :(
Thanks for letting me know @fxdgear. Maybe it was the same for @Aricg. Closing this but feel free to reopen.
Description:
When the CONDA_EXE environment variable is not set, the function get_conda_base() in swenv.api.lua throws an error, breaking the plugin functionality.
Environment:
OS: macOS (M1) NVIM v0.9.1
Steps to Reproduce:
Start LunarVim without having CONDA_EXE set in your environment. Trigger the swenv plugin feature. Observe the error. Actual Behavior:
The following error is displayed:
Expected Behavior:
If CONDA_EXE is not set, the plugin should either skip the conda-specific logic or fail gracefully with a clear error message.
Possible Solution:
Commenting out the conda-specific logic solves the issue.
It may be necessary to include a check for CONDA_EXE and bypass the conda logic if it is not set.