necaris / conda.el

Emacs helper library (and minor mode) to work with conda environments
MIT License
153 stars 49 forks source link

Unable to activate base environment #74

Closed Invarianz closed 2 years ago

Invarianz commented 4 years ago

By following the guides on the landing page I'm unable to get the base environment to work. I guess this comes from the fact that the base environment is not listed in anaconda3/envs. Doing a clone of the base environment into a second environment with a different name works. Currently I'm only setting

(use-package conda
  :ensure t
  :custom
  (conda-anaconda-home "/opt/anaconda3/")
  :config
  (conda-env-initialize-eshell))

Another workaround is to create a softlink called base in anaconda3/envs that points back to anaconda3/.

necaris commented 4 years ago

@Invarianz Can you not do (conda-env-activate "base")?

Invarianz commented 4 years ago

Exactly, without my extra symlink it does not work. As I said, I think this is related to the fact that base is not listed in anaconda3/envs.

necaris commented 3 years ago

@Invarianz can you confirm if this is still true with the latest from Melpa? This functionality should be present from https://github.com/necaris/conda.el/pull/67 so I'm surprised it doesn't work for you.

necaris commented 2 years ago

Closing as no comments since #67, please reopen if necessary!