如何更改默认的python版本EMACS 23使用? [英] How can I change default python version EMACS 23 uses?

查看:206
本文介绍了如何更改默认的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")

这篇关于如何更改默认的python版本EMACS 23使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆