2012-09-06 158 views
1

我在macOS上安装了Python3。在MacOS上安装Python3

我的Python版本通常都存储在/System/Library/Frameworks/Python.framework

但python3在/Library/Frameworks/Python.framework

复制

如何更改或使用python3 ?

+1

什么问题?什么不起作用? –

+0

你不想在系统Python所在的地方安装Python,它很容易混淆并且很难删除。所以它不应该安装在/ System下。即:一切都很好。 –

回答

1

你可以像任何其他python版本一样从终端调用它。

$ python3 
Python 3.2.3 (v3.2.3:3d0686d90f55, Apr 10 2012, 11:25:50) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin 
Type "help", "copyright", "credits" or "license" for more information. 
>>>