Tag Archives: Python Installation Tutorial

Python installation tutorial

Python Installation Tutorial
I. The blogger speaks for himself
With the rapid development of artificial intelligence, Python language is becoming more and more popular among people. The blogger taught himself a while ago, but this time he consolidated it again and shared the pits I met with with you. To help you learn less detours.
Hope to be helpful to you, welcome to leave a comment and ask questions.
At the bottom of the PS article is my python3.7 package download link, which you can download yourself.
 
Ii. Installation environment
The installation environment of this tutorial is: Win7 or Win10 system
Python version: Python 3.7.
As for the installation of Linux and other python versions, you can refer to them.
 
Three, installation steps
1. Python3.7 will be downloaded from the official website
1. To download the Python version on the official website of Python, you need to download the corresponding version (check whether you are a 32-bit operating system or a 64-bit operating system in the computer-Property). I am 64-bit, so I download the corresponding installation package (as shown in the figure below: Windows x86-64 Executable Installer).
The official website download address is as follows:
https://www.python.org/downloads/windows/

 
Notes:
If you typed https://www.python.org, you’ll have to look for the option on the page. It’s better to just type in the details.
Python can also download a ZIP version (Windowsx86-64 Embeddable Zip file), but sometimes many DLL files are lost after downloading, and it is difficult to fix these problems. Therefore, it is recommended to download the Windows X86-64 Executable installer.
2. Python3.7 installation tutorial
1) Double-click the downloaded EXE program to enter the installation interface after downloading.
The installation interface can choose the default installation, also can customize the installation, I prefer the custom installation, default installation path is relatively deep, custom installation define their own shallow directory, easy to find the following.

 
2) When choosing the path to install, you can check “Add Python 3.6 toPATH” at the bottom. This will Add user variables directly by default, and you don’t need to Add them later

3) After the selection, proceed to the next step. All default choices are ok. If necessary, the path of installation and storage can be directly updated in the next step.

4) If the next step continues, the installation will be prompted. You can also see the relevant information in Figure 2 below in the installation directory. Execute Python-V (capital V oh) in CMD at the same time to see the successfully installed version.
At this point, Python is successfully installed and ready to use.

5) The schematic diagram after installation is as follows


3. IDLE use
After the installation is completed, we find Python IDLE in the start menu and double-click to run it, and then we can debug our Python code in our IDLE.

 
Remark:
The above mentioned is the process of Python IDLE installation and debugging in Windows platform. Usually, The Linux system, such as Ubuntu and CentOS, has installed Python programs with the system by default. In Linux system, IDLE is called Python interpreter, and it starts from the terminal emulator by typing the command “Python”. Everything in Python starts with this IDLE editor, and after getting started, you can choose more of your favorite Python editors, such as Wing IDE, the professional Python editor.
 
Iv. Summary of matters needing attention
1: Go to www.python.org to download. (My computer is a Windows system, so the 3.7 version I downloaded is Download Windows X86-64 Executable Installer)
2: Run directly after downloading and customize installation. (Remember to check Add Python 3.7to PATH)
3: Enter python-V test in the Python directory after installation
4: After success, search for IDLE in the start menu. Just double-click to run it (IDLE comes with the Python download and is the INTEGRATED development environment for Python)
 
5. Download address
I have uploaded the Python package, and you can download it directly, either from the official website or from my link address.
download:
https://download.csdn.net/download/qq_25814003/10464931