如何将 emacs 在 python 模式下使用的 Python 版本更改为我刚刚安装的最新版本?
我尝试将 init.el 文件中的 PATH 设置为最新版本的 python 所在的路径,但它不起作用。
最佳答案
设置变量python-python-command
。这可以通过customize
来完成:
- M-x
customize-option
RETpython-python-command
RET - 更改值以指向适当的二进制文件。
关于python - Mac 上的 Emacs for Python - python-mode 继续使用默认的 Python 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4140943/