This question answers where spacemacs looks for conda environments and how to change them with
There's one environment that I use for 90% of what I do. Can I set a default environment for the python layer or is it more reasonable to have a init for the python layer that calls pyvenv-workon? I'm new to emacs and spacemacs, so how would I do either of these?
There doesn't appear to be a specific variable in the python layer and the
dotspacemacs/user-config () would run on any layer, so I might not want that. Despite that, what I did was write
(pyvenv-workon "path/to/default/conda") in the
user-config () and it seems to work for python code and likely others, but I'm not sure if it will break anything that relies on the system python.