When beginners first come into contact with python, downloading, installing and configuring the environment are a big problem. Today I will talk about how to install python.
Step one: Download the Python installation package
Find the latest version of the Python installation package on Python’s official website www.python.org. Click to download. Please note that when your computer is a 32-bit machine, please select the 32-bit installation package. If it is 64-bit, please select the 64-bit installation package;
Step 2: Installation
A. Double-click the downloaded installation package, and the following interface will pop up:
What should be noted here is that python is added to the windows environment variables. If you forget to tick, you need to manually add it to the environment variables; here I choose custom installation, click "Custom Installation" to proceed to the next step;
B. After entering the next step, select Components that need to be installed, and then click Next:
C. Here you can customize the path to select the installation:
D. After clicking Next, the actual installation begins:
E: After the installation is completed, there will be a prompt interface indicating that the installation is successful:
The above is the detailed content of What should I do if python cannot be installed?. For more information, please follow other related articles on the PHP Chinese website!