Skip to main content
 首页 » 编程设计

python之从包中安装 Python,终端没有更新

2025年05月04日8tuyile006

终端在安装 3.3.0 后仍然显示 Python 2.7.2

我是 python 的新手 - 只想获得一个在 Mac 10.8 上工作的良好开发环境。

请您参考如下方法:

使用python3代替python:

$ python3 
Python 3.2.3 (default, Oct 19 2012, 19:53:57)  
[GCC 4.7.2] on linux2 
Type "help", "copyright", "credits" or "license" for more information.