如何更改默认的python版本EMACS 23使用?

问题描述:

尝试更改python emacs使用的版本。 (OSX10.6)

Trying to change the version of python emacs uses. (OSX10.6)

在终端
python
显示了我在PATH中设置的版本
但是在EMACS中

In Terminal python brings up the version I've set up in PATH But in EMACS it does not.

如何更改?

另一个选项是考虑修复Emacs的环境变量PATH,这在Mac OS上使用Emacs时有点棘手。只需确保Emacs的PATH与Terminal.app/Bash中PATH的值相同。这些链接应该有助于:

Another option is to look into fixing the environment variable PATH for Emacs which is a little tricky when using Emacs on Mac OS. Just make sure that Emacs' PATH has the same value as PATH in Terminal.app/Bash. These links should help:

在Emacs minibuffer中访问OS X / UNIX环境变量

http://www.emacswiki.org/emacs/EmacsApp

(参见路径部分)和替代路径解决方案)

(cf. Section "Path" and "Alternative Path Solution")