henry atting <nsmp...@online.de> writes: > How can I cause org-babel to use python3 instead of python2? > Emacs (in python-mode) already does it flawlessly with > > (setq py-python-command "/usr/bin/python3")
There is a variable: ┏━━━┫ org-babel-python-command ┃ ┃ ┃ org-babel-python-command is a variable defined in `ob-python.el'. Its ┃ value is "python2" ┃ ┃ This variable is potentially risky when used as a file local variable. ┃ ┃ Documentation: Name of command for executing python code. ┃ ┗━━━ You could change it. I never managed to get Python2/3 working well in Org-mode, -- Sent from my Emacs