Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是emacs的新手。我安装了具有内置 python 模式(python.el)的 emacs24。我找不到这个文件,也不知道如何配置它以使用 python3 shell(它默认使用 python2.7)。谢谢
M-x customize-variable RET python-shell-interpreter RET
将其设置为 python3。之后 Mx run-python RET 应该打开一个 Python3 shell。
如果还没有工作,检查 $PATH,确保包含 python3 可执行文件的目录出现。