Skip to content

Commit

Permalink
fix: Use executable-find to set python-shell-interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
Maverobot committed Dec 20, 2023
1 parent c9191d9 commit 9423b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacemacs.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9423b3d

Please sign in to comment.