2. Installation (here, the installation is in the D drive: D:\APP_Install directory as an example):
1. Create a new installation directory:
Create a new folder in the D:\APP_Install directory and name it: Python3.6.5 (you can name it yourself, you don't need to keep it consistent)
2. Install:
1) Double-click the downloaded python3.6.5.exe file to enter the following interface
1)
2) Check Add Python 3.6 to PATH on the interface of 1) , click Customize installation, jump to the following interface, click Next to jump to Advance Option, click Brower, and then select the folder directory newly created in step 1. Click OK
3) After step 2), the interface returns to the following interface, click Install
3. Environment configuration: divided into two situations
1. In the installation step 2 (2), if you check Add Python 3.6 to PATH when installing Python, you can enter the environment variable to check whether the two items in the figure exist in the Path.
(Environment variable check path: Computer----Right click---Properties---Advanced system settings---Environment Variables---Double-click Path environment variable)
create a new one---copy the installation path of Python---OK
New ---- Script under the python installation path --- OK
4. Check if python is installed successfully
Enter python in the cmd command window and press Enter. If the following interface appears, the configuration is successful. If it is determined that the configuration content is correct, it still prompts that Python is not an internal command. You can restart the computer and try it.