Download
1. Download the version you need to install on the website
Installation
2.1 Default path installation, tick the "Add to Path" checkbox at the bottom of the installation window
(When checked, the Python installation path is automatically added to the path, you do not need to configure the environment variable, the installation can be used directly)
2.2 Non-default path installation, select the path to install, after installation is complete
1) Open the Python installation directory and copy the entire path, for example: D:\python\, etc.
2) Set Environment variables: The steps are as follows:
A. Right-click on my Computer
B. Click the Properties button
C. Click the Advanced System Settings button on the left
D. Pop-up System Properties window, click Advanced--environment variable
E. Locate path in the System Variables window, double-click
F. At the end of the input box, first check if there is a semicolon in English, if so, then directly paste the copied Python installation path after the semicolon, if not, first use the English semicolon to separate the previous contents, and then paste the path. (Be careful not to erase the contents of the original path.)
G. Last save can be
Verify that the installation is successful
CMD under input python
If the Python version is displayed, it proves the installation was successful
Windows installation Python3