I am trying to run an ipython interpreter remotely (with Emacs 24.5 and native python.el
), but I'm not sure I have the right approach: whenever I try to run such a command for instance (which gets triggered with C-c C-c
):
Run Python: /ssh:<server_name>:/usr/local/bin/ipython -i
(with <server_name>
a valid entry in my ~/.ssh/config
, and ipython
available at that remote location), I get an error like:
Warning (emacs): 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'
as well as:
env: /ssh:<server_name>:/usr/local/bin/ipython: No such file or directory
in a *Python*
buffer.. Is this making use of tramp
, and is python.el
able to run remote interpreters in such a way?