1. Direct installation:
Brew install Python (similar to yum install)
Note: This version of Python that is installed directly may not be the latest version
2. Download from official website:
Official website:https://www.python.org/
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/08/A0/wKiom1nkzimgVLQTAABLtfrT0ks887.png-wh_500x0-wm_ 3-wmp_4-s_3951153054.png "title=" 5.png "alt=" Wkiom1nkzimgvlqtaabltfrt0ks887.png-wh_50 "/>
Installation is relatively simple, according to the prompt installation can;
The drawback is that upgrade, uninstall have to maintain their own;
The python location of the two installation methods is not the same, you can use:
> which Python
Determine the location of the Python installation;
After the installation is complete, enter Python in the terminal to verify that the installation was successful.
This article is from the "Note space" blog, so be sure to keep this source http://286577399.blog.51cto.com/10467610/1973072
3. Install Python under Mac