1. Download the python installation package
Address: Welcome to Python.org
Choose the latest version to download
If you need the previous version, you can choose to download it according to your computer system
Two, install python
Double-click to run the downloaded file to enter the installation interface
Check Add python.exe to PATH to automatically add python to the environment variable without manual configuration
Click Install Now to install directly according to the default settings
You can also choose Customize installation to enter the custom settings
Click next to enter the next page and customize the installation location. Click Install to install and wait for the installation to complete.
Click close to complete the installation
3. Verify that the installation is successful
Use the shortcut key win+R to open Run, enter cmd, click OK and open cmd.
Enter python --version or python -V in cmd to verify that python is installed and configured successfully. If the python version number is displayed, the installation is successful.