Python installation and configuration (version 3.10.10)

  1. Python official website address:

https://www.python.org/

  1. Select the corresponding installation method according to the type of computer system (the demo installation system is window11 (window10, window7 are applicable))

3. Find the 3.10.0 version and select 64-bit or 32-bit according to the computer configuration (if you don’t know the computer configuration, please see step 4), generally choose the stable release version listed on the left.

Note : There are two options: embeddable package and windows installer. Their differences are as follows:

The embeddable package downloads a compressed package, and the installation is complete after decompression. (You need to configure environment variables yourself);

Windows installer downloads an exe executable program, double-click to install it. Generally choose this kind of download (the demo here is windows installer )

4. Check the computer configuration, right click on this computer --> properties

Here my computer is a 64-bit operating system, select the corresponding installation package according to your computer configuration

5. Double-click the downloaded file, the following interface appears:

"Add python.exe to PATH" To add python to the environment variable, remember to check (forget to check that you can manually configure the environment variable, please see step 11) and select Customize installation (custom installation), so that you can choose by yourself installation location.

6. For the convenience of subsequent use, directly follow the default, select all options, and then click "Next"

7. Click "Browse" to set the installation path, and click "Install" after completion

8. Do not move during installation

9. After the installation is complete, click "Close"

10. Test

11. Configure environment variables

11.1 Search for "Environment Variables", click "Edit System Environment Variables"

11.2 Complete the configuration of environment variables according to the steps

Guess you like

Origin blog.csdn.net/cainiaonnnn/article/details/129283519