【发布时间】:2013-04-15 02:21:44
【问题描述】:
如何在 Canopy Enthought 中使用 Python 3?它在底部有选择 Python 3 的选项,但是当我们使用时这不会改变任何东西:
print(sys.version)
2.7.3 | 32-bit | (default, Mar 25 2013, 15:38:39) [MSC v.1500 32 bit (Intel)]
【问题讨论】:
-
如果您的系统上还有 2.7,
$ python3 myscript.py是调用脚本的特定命令。 -
这在 Enthought 中不起作用。问题是我无法在该组织的计算机上为 python 3.3 构建 numpy。 Canopy Enthought 有效,但我的脚本是用 3.3 编写的。
-
我来这里也是为了问同样的问题。那么就没有办法在 Canopy 中使用 Python 3 了吗?
-
@Juanlu001 我放弃了...我想使用它的原因是因为我无法让 Python 3.3 在环境中工作。自从我在那里修好了它,它对我的事业来说已经过时了。
-
我开始了赏金,因为对我来说,在 Canopy 中使用 Python 3 很重要。我想要一个答案,即使它是“不,你不能”。
标签: python-3.x enthought canopy