I am using EIN in Org blocks, as explained on the GitHub page for EIN. So I use ein-python
as the language for Org blocks (instead of python
).
All seems to work well (for example displaying data from arrays, or displaying images), except when trying to print
in the buffer: there is no output in the block results. However, it works with python
as the block language.
The following minimal example shows the problem:
#+begin_src python :session localhost :results output
print("Hello")
#+end_src
#+RESULTS:
: Hello
#+NAME: ca60b6cf-8304-4c47-b458-559dea7d9ab0
#+begin_src ein-python :session localhost :results output
print("Hello")
#+end_src
#+RESULTS: ca60b6cf-8304-4c47-b458-559dea7d9ab0
Above, Hello
is not displayed the block results in the case of ein-python
.
What causes this problem?