From 9423b3d5d7c5738bb38f4b7d8002322ccb5784af Mon Sep 17 00:00:00 2001 From: Zheng Qu Date: Wed, 20 Dec 2023 21:48:39 +0100 Subject: [PATCH] fix: Use `executable-find` to set `python-shell-interpreter` --- spacemacs.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacemacs.org b/spacemacs.org index 48d7647..5b0a9d9 100644 --- a/spacemacs.org +++ b/spacemacs.org @@ -307,7 +307,7 @@ Autocompletion config for launch files. #+END_SRC *** Default python interpreter #+BEGIN_SRC emacs-lisp :tangle user-config.el - (setq python-shell-interpreter "/usr/bin/python3") + (setq python-shell-interpreter (executable-find "python3")) #+END_SRC *** Disable spacemacs buffer warnings #+BEGIN_SRC emacs-lisp :tangle user-config.el