2

I'm using elpy for my python coding. I wanted to try ipython because of the nice built in profilers. So what I've done is to install ipython within my virtualenv. It works correctly. I then added the following line to my init.el

(elpy-use-ipython)

However after restarting emacs I get the error that command iypthon is not found. Is it possible to set ipython on a virtualenv basis? Or how can I fix the issue. I'm running linux debian 9.3 stretch

  • I don't use elpy, but looking at the source it says elpy-use-ipython is deprecated. – jpkotta Feb 2 '18 at 16:40
3

Reading the docstring for the deprecated elpy-use-ipython, it points to https://elpy.readthedocs.io/en/latest/ide.html#interpreter-setup that recommends the following setup for ipython:

(setq python-shell-interpreter "ipython"
      python-shell-interpreter-args "-i --simple-prompt")

If it still fails, you could try using full path to your ipython executable.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.