mac installation python3-- use brew management

Use brew Management:
1.brew Download: official website https://brew.sh/
brew Download reference blog
2.mac terminal:
check your python version:

$ python
Python 2.7.10 (default, Feb 22 2019, 21:55:15) 
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
$exit()

Use brew Installation:

 $ brew install python3

Check whether the installation:

$ python3
Python 3.7.6 (default, Dec 30 2019, 19:38:28) 
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
Published 73 original articles · won praise 24 · views 2564

Guess you like

Origin blog.csdn.net/weixin_44943394/article/details/104244280