From 2750ca0136d92417ba0e4ad6bc0eb197e18e5433 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 8 May 2021 17:53:26 -0400 Subject: [PATCH] Use python3 in org source blocks --- modules/development.org | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/development.org b/modules/development.org index a5d63a5..ddef14e 100644 --- a/modules/development.org +++ b/modules/development.org @@ -137,6 +137,7 @@ Adds support for *Python* and *Python 3*[fn:8] with *DAP*[fn:1] and *LSP*[fn:2] (add-to-list 'org-structure-template-alist '("py" . "src python")) (org-babel-do-load-languages 'org-babel-load-languages '((python . t))) :custom (python-shell-interpreter "python3") ;; Required if "python" is not python 3. + (org-babel-python-command "python3") ;; Same as above. (dap-python-executable "python3") ;; Same as above. (dap-python-debugger 'debugpy)) #+end_src