【问题标题】:cygwin shell in emacs /cmd.exe in windowsWindows 中 emacs /cmd.exe 中的 cygwin shell
【发布时间】:2010-10-03 00:39:20
【问题描述】:

我正在尝试让 python 在 emacs 的命令 shell 中运行。我已经尝试过 Windows emacs 附带的标准 M-x shell,然后键入“python”,但 python 只是挂断了(没有输出)。我还尝试从 cygwin 运行其他程序 shell,例如 bash.exe,结果相同。有什么办法可以得到一个可以运行其他程序(如 python)的 shell?

【问题讨论】:

    标签: windows emacs cygwin


    【解决方案1】:

    为什么不使用M-x python-shell?这为 Emacs 中的 Python 提供了交互式 REPL。

    【讨论】:

    • 这可能会做到。此 Python 不是系统 Python 和/或路径可能与预期不同。
    猜你喜欢
    • 2010-09-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-25
    • 2011-07-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多