我剛開始學習Emacs,並決定開始在其中編寫Python。我嘗試使用C-C C-C來執行當前緩衝區,但我收到消息Searching for program: no such file or directory, python
。在Windows上的Emacs中執行當前Python腳本
我看着谷歌,但我沒有爲明智如何排序了這一點(記住我旁邊沒有了解Emacs的!)
我剛開始學習Emacs,並決定開始在其中編寫Python。我嘗試使用C-C C-C來執行當前緩衝區,但我收到消息Searching for program: no such file or directory, python
。在Windows上的Emacs中執行當前Python腳本
我看着谷歌,但我沒有爲明智如何排序了這一點(記住我旁邊沒有了解Emacs的!)
您可能需要設置一個環境變量(可能是PYTHONPATH)或emacs變量(可能只是PATH?) - http://www.delorie.com/gnu/docs/emacs/emacs_534.html。嘗試將你的emacs路徑指向你的路徑上的任何地方。 – 2009-07-27 21:18:07
此外,http://hide1713.wordpress.com/2009/01/30/setup-perfect-python-environment-in-emacs/,但我真的不知道你正在運行的操作系統... – 2009-07-27 21:19:19