|
发表于 2020-7-8 21:30:21
|
显示全部楼层
直接安装就可以的,楼上有地址,安装完之后,添加一下环境变量。
比如我的就是py2和py3一起的
- Last login: Wed Jul 8 21:17:54 on ttys001
- MacdeiMac:~ mac$ python
- Python 2.7.10 (default, Oct 6 2017, 22:29:07)
- [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> exit()
- MacdeiMac:~ mac$ python3
- Python 3.7.5 (default, Nov 1 2019, 02:16:38)
- [Clang 10.0.0 (clang-1000.11.45.5)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>>
复制代码 |
|