How to open IPython interpreter in emacs?

前端 未结 6 1773
名媛妹妹
名媛妹妹 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:44

    Edit: Whoops, the project below is a fork, not the official Prelude project. The second paragraph here still stands. Or you could try the fork.

    It looks like Prelude already sets up ipython integration. Maybe your copy is out of date?

    If M-x run-python doesn't launch ipython, try adding (setq python-shell-interpreter "ipython") to your init file (or just evaluating it) and running M-x run-python again. After a quick test without Prelude that seems to be all that is necessary.

提交回复
热议问题