Emacs shell无法启动python解释器

时间:2017-02-13 11:00:41

标签: python shell emacs

Windows 7,Emacs 25.1,Python 2.7

  1. 启动Windows提示
  2. 输入“python”
  3. 成功进入python enter image description here

  4. 的Emacs

  5. 启动shell
  6. 输入“python”
  7. 不启动python enter image description here

    为什么?

1 个答案:

答案 0 :(得分:-1)

  

要从emacs启动python,您可以启动python的新实例   使用命令M-x run-python进行解释。根据我的经验   emacs中的shell实现在功能上有些限制。   您还可以在emacs自己的shell实现中运行python   eshell

它的作品。它启动了一个python解释器,但它也向我显示了一个警告: enter image description here