Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Mac 上安装了 Enthought Canopy,它使用的是 Apple 的内置 Python 2.7.3 版本。
sys.version Out[1]: '2.7.3 | 32-bit | (default, Jun 14 2013, 18:24:40) \n[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]'
如何将其更改为我在计算机上手动安装的 Python 2.7.5?
它实际上向您展示了 Enthought 构建的 Canopy Python,它是 2.7.3,而不是 Apple 的。
目前,您无法更改此设置。从长远来看,这可能是一种可能性。
Canopy Python 可能会在接下来的几个月内更新到 2.7.5。