改变emacs的python解释器 [英] Changing python interpreter for emacs
本文介绍了改变emacs的python解释器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Emacs使用旧版本的python(2.3)我有默认的python模式,有没有办法让我告诉emacs使用我的主目录中的较新版本?
Emacs uses an older version of python(2.3) i have for the default python mode, is there a way for me to tell emacs to use the newer version that i have in my home directory?
btw我使用红帽发行版,没有root权限。
btw I'm using a red hat distro and dont have root privileges.
推荐答案
很好的习惯来检查你想要调整的东西 custom-group 。只需做:
It is good habit to check customize-group of things you wanna tweak. Just do:
M-x customize-group RET python RET
你现在有多个选项应该是有趣的:
you've got now multiple options of which one should be interesting:
Python Python Command
您可以自定义它,然后另存为进一步的会话。
You can customize it there and Save for further sessions.
这篇关于改变emacs的python解释器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文