joh*_*e25 6 python python-2.7 python-3.x
Python新手在这里.我刚刚买了一台Python 2.7附带的新Mac.我正在使用旧版本的Python,所以我需要保留它.我想安装最新版本的Python,3.6,并排旧版本.我在网上发现的指令要么过时,要么令人困惑.谁能指出我正确的方向?
小智 5
你可以使用brew来安装python3.
$ brew install python3
$ python # to start the python 2.7
$ python3 # to start the python 3
Run Code Online (Sandbox Code Playgroud)
这是在macOS上开始使用python 3的最简单方法.
| 归档时间: |
|
| 查看次数: |
5791 次 |
| 最近记录: |