How to open IPython interpreter in emacs?

前端 未结 6 1791
名媛妹妹
名媛妹妹 2020-12-04 20:17

In order to use IPython during Python development in Emacs, I have been opening up a terminal, and typing ipython. This doesn\'t seem like the right way to do i

6条回答
  •  执念已碎
    2020-12-04 20:51

    Seems a bit late, however was also having similar problem, wanted to have ipython as default python interpreter for my emacs 24.x. The following worked like a magic -

    (require 'python)
    (setq python-shell-interpreter "ipython")
    (setq python-shell-interpreter-args "--pylab")
    

    thanks to http://www.flannaghan.com/2013/08/29/ipython-emacs for saving my day and hopefully yours.

    PS: seems having anaconda preinstalled in your system helps...

提交回复
热议问题