python3解释器用于emacs而不是2.7 [英] python3 interpreter for emacs instead of 2.7

查看:227
本文介绍了python3解释器用于emacs而不是2.7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Fedora 17和Emacs的新手,不知道如何告诉我的emacs使用最新版本的python。

I'm new to Fedora 17 and Emacs, can't figure out how to tell my emacs to use the newest version of python.

我发现了一些信息我应该更改python-python-command变量或显示路径到新的解释器,如何做?

I found some info that I should change python-python-command variable or show path to new interpreter, how to do it?

推荐答案

(setq py-python-command "/usr/bin/python3.1")



应将

添加到.emacs文件

should be added to your .emacs file

这篇关于python3解释器用于emacs而不是2.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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