ob-ipython icon indicating copy to clipboard operation
ob-ipython copied to clipboard

Running kernels other than python

Open dabro opened this issue 9 years ago • 4 comments

Awesome project, lots of amazing work The readme has the example of running clojure, but when I try running scala or elixir, Emacs hangs until I ^G trying to contact the kernel. Any ideas? Contacting host: localhost:8888

#+BEGIN_SRC ipython :session iex :kernel elixir
a = 1
IO.inspect a
#+END_SRC

Meanwhiel I receive the following warning in another buffer:

Warning (python): Python shell prompts cannot be detected.
If your emacs session hangs when starting python shells
recover with ‘keyboard-quit’ and then try fixing the
interactive flag for your interpreter by adjusting the
‘python-shell-interpreter-interactive-arg’ or add regexps
matching shell prompts in the directory-local friendly vars:
  + ‘python-shell-prompt-regexp’
  + ‘python-shell-prompt-block-regexp’
  + ‘python-shell-prompt-output-regexp’
Or alternatively in:
  + ‘python-shell-prompt-input-regexps’
  + ‘python-shell-prompt-output-regexps’

dabro avatar Jun 12 '16 08:06 dabro

I can reproduce. Will look in to this.

gregsexton avatar Sep 18 '16 16:09 gregsexton

hi @gregsexton looks like a great project. Have you got an example of this working in a kernel other than python?

sje30 avatar Dec 18 '16 13:12 sje30

Any news? I was planning to use t for pyspark...

nanounanue avatar Jun 16 '17 15:06 nanounanue

any news ? clojure still not working

eggcaker avatar May 03 '18 09:05 eggcaker