Install Python and build the environment

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.

Insert image description here

2. Select the python version to download

Insert image description here

2. Install Python

1. After the download is completed, double-click to open

Insert image description here

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.

Insert image description here

Click next to proceed to the next step

Insert image description here

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.

Insert image description here

Wait for the installation. After the installation is completed, it will prompt success. Click close to close the window.

Insert image description here

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.

Insert image description here

Guess you like

Origin blog.csdn.net/weixin_44042442/article/details/133364671