Download and install Python
Python download official website:https://www.python.org/doc/
1. Download python
1. Select system version
Enter the official website, click Downloads, and select the environment corresponding to the computer system. Here is the Windows environment I downloaded.
2. Select the python version to download
2. Install Python
1. After the download is completed, double-click to open
2. Select the installation configuration
First select ADD Python 3.10 to PATH and let Python automatically configure the system variables our computer needs;
Then select customize installation to customize the installation.
Click next to proceed to the next step
3. Select the installation path
Select the installation path. It is recommended to directly change the C drive to the D drive. There is no need to select subsequent folders.
Wait for the installation. After the installation is completed, it will prompt success. Click close to close the window.
3. Check whether Python is installed successfully
Usewin+R
key combination, then click Enter to open the command window and enter the commandpython --version
to check whether python is installed successfully.
We can see that the python version we installed is returned after execution, that is, python is installed successfully.