Merge pull request #3405 from ztlevi/conda-fix-path
python: fix conda path
This commit is contained in:
commit
f0ec335709
1 changed files with 3 additions and 2 deletions
|
@ -266,14 +266,15 @@ called.")
|
||||||
"~/.anaconda"
|
"~/.anaconda"
|
||||||
"~/.miniconda"
|
"~/.miniconda"
|
||||||
"~/.miniconda3"
|
"~/.miniconda3"
|
||||||
|
"~/anaconda3"
|
||||||
"~/miniconda3"
|
"~/miniconda3"
|
||||||
"/usr/bin/anaconda3"
|
"/usr/bin/anaconda3"
|
||||||
"/usr/local/anaconda3"
|
"/usr/local/anaconda3"
|
||||||
"/usr/local/miniconda3"
|
"/usr/local/miniconda3"
|
||||||
"/usr/local/Caskroom/miniconda/base")
|
"/usr/local/Caskroom/miniconda/base")
|
||||||
if (file-directory-p dir)
|
if (file-directory-p dir)
|
||||||
return (setq conda-anaconda-home dir
|
return (setq conda-anaconda-home (expand-file-name dir)
|
||||||
conda-env-home-directory dir))
|
conda-env-home-directory (expand-file-name dir)))
|
||||||
(message "Cannot find Anaconda installation"))
|
(message "Cannot find Anaconda installation"))
|
||||||
|
|
||||||
;; integration with term/eshell
|
;; integration with term/eshell
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue