1 Introduction
At present, Python official website has stopped maintaining Python2.7 version from 2020-01-01
Currently Python official recommendation: use Python3.X series version (not backward compatible with python2.X version)
So: angered many Python2.X version lovers (but Python3.X is the future trend)
- Python official website: https://www.python.org
- Personal recommendation: use a version between Python3.6 ~ Python3.8
2. Enter the home page, click Downloads, select Windows
3. As shown in the figure below: you can see many Python versions
Note: Versions above 3.9 (including 3.9) cannot be installed on win7 systems
Explanation of prefixes:
- 64-bit Python installers starting with Windows x86-64;
- The 32-bit Python installers start with Windows x86.
Description of suffixes:
- embeddable zip file: Indicates the green installation-free version in .zip format, which can be directly embedded/integrated into other applications;
- executable installer: Indicates the executable program in .exe format, which is a complete offline installation package, generally select this;
- web-based installer: It means to install through the network, that is to say, what is downloaded is an empty shell, and it needs to be connected to the Internet during the installation process.
4. Download the real Python installation package
English | Chinese |
---|---|
Download Windows help file | Python help file |
English | Chinese |
---|---|
Download Windows x86-64 embeddable zip file | 64-bit embeddable zip file |
Download Windows x86-64 executable installer | 64-bit executable .exe file |
Download Windows x86-64 web-based installer | 64-bit network-based installation files |
English | Chinese |
---|---|
Download Windows x86 embeddable zip file | 32-bit embeddable zip file |
Download Windows x86 executable installer | 32-bit executable .exe file |
Download Windows x86 web-based installer | 32-bit network-based installation files |
5. Here I choose
"Windows x86-64 executable installer", that is, the 64-bit complete offline installation package.
6. Start installing the downloaded python offline package
Double-click the downloaded python-3.7.8-amd64.exe to start installing Python officially
6.1 Custom installation
Install Now: Default installation (directly installed on the C drive, and check all components and download)
Customize installation: Customize installation (optional installation path and components)
Install launcher for all users(requires elevation) (checked by default)
Add Python to PATH (Must be checked, add the installation path of the Python interpreter to the system variable, the purpose: to find the Python interpreter faster for the operating system)
noun | explain |
---|---|
Documentation | Install Python official documentation |
Pip | Install the Python package manager to download and install Python packages |
tcl/tk and IDLE | Install TK library and IDLE editor (development environment) |
Python test suite | Install the standard library and test suite |
Py launcher | py suffix files are executed with the python interpreter |
For all users | Available to all users |
6.2 Check all
noun | explain |
---|---|
Install for all users | Available to all users |
Associate files with Python (requires the py launcher) | Associate py files with python (requires python launcher) |
Create shortcuts for installed application | Create shortcuts for applications |
Add Python to envirounment variables | Add Python to the virtual environment |
Precompile standard library | precompiled standard library |
The latter two are Debug related tools | There is no need for the IDE of pycharm |
6.3 Check the first five
6.4 If you see the following picture, the installation is successful
Verify whether it is successful, press win+R, enter cmd, enter Python and press Enter
6.5 Press win, you can find the installed Python
name | paraphrase |
---|---|
IDLE | Python editor |
CPython | interactive command line |
The wonderful journey of Python download and installation has come to a perfect end.
Next, you will start your own Hello World!