Initial experience of installing Python 3 on MAC system

the front

For IOS development, don't disassemble Python from the system, because many libraries still use Python 2.7.

1 install Xcode

1.1 search and install Xcode in App Store

1.2 installing Xcode command line tool

1.2.1 open the command line terminal tool

1.2.2 installing Xcode command line tool

2. Install the homebrew suite management tool

2.1 installing homebrew

2.2 check whether the installation is successful

3 install Python

4 set path (optional)

If you do not set the path, if you use python, the system will be used by default. (there is no specific implementation, so you need to try this yourself)

Expand: see what the current path is. The purpose of path: tell the Department y where our brew is. Will look up and down.

5 confirm installation

6 use

Case where action 4 is not performed (recommended)

Execution of operation 4

7 installation of Pip

Using pip

summary

The above is the first experience of installing Python 3 in MAC system introduced by Xiaobian. I hope it will help you. If you have any questions, please leave me a message and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>