Why does the python installation fail?
Now download the python version that matches your own machine from the official python website. Check whether your machine is 64-bit or 32-bit.
Recommendation: "python tutorial》
After downloading the python installation package, double-click the python installation package, select install just for me, and click Next
Select the path for the python installation Generally, it is installed on the c drive. Click next. Next
Select the python files to be installed and install them all by default. Click next
Wait for a while and the installation will be successful
Then click finsh to complete the installation
Right click My Computer Select Properties
Select Advanced System Configuration, click Advanced
Click Environment Variables, select path path
Then double-click and put the path you just selected when installing python into the path path. Pay attention to filling in the last part
Then type python -V in the cmd command line to get the python version information. The installation is complete
The above is the detailed content of Why python installation failed. For more information, please follow other related articles on the PHP Chinese website!