First of all, the main reason for this problem is that the installation version is larger than python3.4, and earlier versions are more compatible with Win7.
So if you need to install a newer version, this problem will occur and you will need to install Windows 7 Service Pack 1 and update the system
First step, download and install Windows 7 Service Pack 1
Access URL: https://www.microsoft.com/zh-CN/download/details.aspx?id=5842, select Chinese and click to download
The following options appear
Select the third, according to your operating system, my is 64-bit, so choose Amd64fre, download finished, direct installation is good, follow the boot, install location arbitrarily
Second step, update the system
If you do not install the Update software, enter the following interface, prompted to install the software for the update (if you do not know where the interface, first click on the bottom left corner of the Windows icon, enter Windows Update directly in the input box, this option will appear, click to go to it)
After the installation is complete, the following interface appears, the display has not been updated, click Install Update, the optional update also point on
After the update is complete
Click Restart to update the system
Third step, the official installation Python3.7
After clicking on the installation file, the following screen will appear
Select Install Now, and check all two options below to avoid the need to match your environment variables at a later stage
Fourth step, run
After the installation is complete, open the CMD window (click the Windows icon in the lower left corner, fill in cmd, and press ENTER to come out)
The following error message appears after a black window is typed in the python command
Here's the solution recommended Baidu experience in the answer: https://jingyan.baidu.com/article/ab0b563067358ac15afa7dc5.html, do not repeat the wheel made
The reason is that we re-installed the Windows7 Service Page 1 above, the equivalent of the update, and the above file is not updated, although the file belongs to Windows Visual 2015, it needs to be updated
Then repeat the above operation in the Black window
The following interface shows that the operation was successful.
Fifth Step, test
If the following results are present, then it is basically no problem.
Reprint Please specify: https://www.cnblogs.com/gambler/p/9575556.html
If you have any questions, please leave a message below
Python installation problem one or more issues caused the setup to fail. Windows7 installation Python3.7