Use ipython3 instead of python3 to interact with ob-python
This commit is contained in:
parent
49babb5fda
commit
13cfba1f7f
@ -1713,7 +1713,8 @@ v org-latex-classes)}}} for an explanation of the code in listing
|
||||
|
||||
(with-eval-after-load 'ob-python
|
||||
(custom-set-variables
|
||||
'(org-babel-python-command "python3 -E")))
|
||||
'(org-babel-python-command
|
||||
"ipython3 --simple-prompt --HistoryAccessor.enabled=False")))
|
||||
#+end_src
|
||||
|
||||
#+caption[Customize =ob-python=]:
|
||||
@ -3058,7 +3059,10 @@ of [[https://github.com/jorgenschaefer/pyvenv#readme][pyvenv]]). Therefore, thi
|
||||
(with-eval-after-load 'python
|
||||
(custom-set-variables
|
||||
'(python-indent-guess-indent-offset nil)
|
||||
'(python-shell-interpreter-args "-i -E")))
|
||||
'(python-shell-completion-native-disabled-interpreters '("ipython3" "pypy"))
|
||||
'(python-shell-interpreter "ipython3")
|
||||
'(python-shell-interpreter-args
|
||||
"--simple-prompt --HistoryAccessor.enabled=False")))
|
||||
#+end_src
|
||||
|
||||
#+caption[Manage =pyenv=]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user