2017-02-13 20 views
0

Windows 7中的Emacs 25.1,Python 2.7版Emacs的外殼不會啓動Python解釋器

  1. 啓動Windows提示
  2. 輸入 「蟒蛇」
  3. 成功進入到Python enter image description here

  4. Emacs的

  5. 啓動外殼
  6. 輸入 「蟒蛇」

無法啓動蟒蛇 enter image description here

爲什麼?

+0

Emacs是文本編輯器,它爲什麼要運行python IDLE? – stetim94

+0

我認爲Emacs不僅僅是文本編輯器:-) – Alexei

+0

它是,但你必須配置這個額外的功能:http://stackoverflow.com/questions/10241279/how-do-i-run-a-python -interpreter-in-emacs – stetim94

回答

0

啓動Python從emacs的你就可以開始一個python 解釋的一個新實例命令M-x run-python。根據我的經驗,emacs中的 shell實現在功能上有所限制。 你也可以從emacs自己的shell實現中運行python eshell

它的工作。它啓動了一個python解釋器,但它也給我一個警告: enter image description here