Diogo Ferrari
Diogo Ferrari
That does not work. I use a venv with python 3.6 and the only jupyter kernel for that ve is python3. But the ipython code blocks use python 2.7. (I...
The only missing piece was the `ob-ipython-command`. Now it is working fine. Thank you! An unrelated topic: I noticed a JSON error in the upstream version of ob-ipython [see here](https://github.com/gregsexton/ob-ipython/issues/210)...
... and as I predicted, the JSON error occurred. The problem is that any warning that happens in the shell command produces a JSON readtable error in the .org file....
Here is a mwe: ``` #+TITLE: title #+INCLUDE: tmp2.org * A section #+BEGIN_SRC ipython :session tmp :exports both :results output print("ok") #+END_SRC ``` I am using - Org mode version...
One situation the "JSON readtable error" happens is when I include another org file with: ``` #+INCLUDE: .org ```
It requires emacs 26. I will try that later. Thanks for the suggestion.
Anyone?
I found the solution. The problem is the function ``` shell-command-to-string ``` of this function: ``` (defun ob-ipython--get-kernels () "Return a list of available jupyter kernels and their corresponding languages....
Same issue here. Its anoying. The problem is that some characters are not recognized, like quotation marks. After load a note on emacs buffer, convert to TEXT format, edit and...