sublime text 3 使用 python 3.3 作为编译器 [英] sublime text 3 use python 3.3 as compiler

查看:34
本文介绍了sublime text 3 使用 python 3.3 作为编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚购买了 sublime 3.我想知道如何在 python 3 中而不是在 python 2 中进行编译.

Just purchased sublime 3. I'm wondering how I can compile in python 3 and not in python 2.

当我执行

导入系统打印(sys.version)

我收到2.7.3 |EPD_free 7.3-2(32 位)|(默认,2012 年 4 月 12 日,14:30:37)[MSC v.1500 32 位(英特尔)]"

I receive "2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 14:30:37) [MSC v.1500 32 bit (Intel)]"

过去 2 或 3 小时我一直被卡住.我知道它与构建有关,但它似乎没有点击.

I've been stuck for the last 2 or 3 hours. I know it has something to do with builds but it just doesn't seem to be clicking.

任何帮助将不胜感激.谢谢!

Any help would be greatly appreciated. Thanks!

推荐答案

Sublime Text Python builder 使用在您的 PATH 中找到的 Python 可执行文件.

The Sublime Text Python builder uses the Python executable found in your PATH.

Windows 说明可以在这里找到:http://pythoncentral.org/how-to-install-python-2-7-on-windows-7-python-is-not-识别为内部或外部命令/

Instructions for Windows could be found here: http://pythoncentral.org/how-to-install-python-2-7-on-windows-7-python-is-not-recognized-as-an-internal-or-external-command/

这篇关于sublime text 3 使用 python 3.3 作为编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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