I happen to experiment with Emacs for Python coding. I'd tried to change the default interpreter with Anaconda's ipython by the following ways in .emacs:

(setq python-python-command "~/anaconda2/bin/ipython")


(setq python-shell-interpreter "ipython")

but neither works.

Besides, when I switch to ipython directly (in Emacs shell or invoke it in C-c C-c) the prompt is messed up like this (the situation is the same in the Emacs shell in general):


How can I repair this phenomenon?

  • I have no experience with emacs, but maybe you should specify the full path? – wjandrea Oct 31 '17 at 1:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.