010-53352947

Sharing | python download and installation

Python is a high-level, general-purpose programming language, known for its concise, easy-to-read syntax, is widely used in web crawlers, data analysis, machine learning, artificial intelligence and many other fields. Specifically install python development environment method, the following operation:



01

Download the Python parser installer




Go to the official Python website and selectDownloadstitle bar, you can see that there are corresponding Windows and macOS options.

(Because it is a native foreign URL, sometimes it cannot be opened due to network problems, or it opens slower)

Official website address:

https://www.python.org/

Here we select the Windows option to the right ofPython 3.12.4 If you are interested in downloading the latest version of the program, click on the download page. You can directly download the latest version of the currentPython parser installer.




take note of

There are two major versions of Python parsers, Python 2 and Python 3, but the dominant version is Python 3.

For general-purpose versions and program compatibility reasons, we don't usually use the latest version of python, but we recommend Python 3.7, Python 3.8, or python 3.9.




Other version download

Recommended for 3.7, 3.8, 3.9 (newer versions are less stable)

https://www.python.org/downloads/windows/

For example, we chose the 64-bit .exe installation file for Python 3.9.12 under Python 3.9 version. Click on it to download it directly.



02

Installing the Python parser




Open the downloaded Python installer with a double mouse click and select the installation method (here choose Custom Installation).

Default selection, click directly onNextGo to the next step of the installation

ClickBrowseGo to the Custom Installation Directory option. Here it is installed to the Python 3.9.12 folder under the desktop (a new folder created on the desktop).

After selecting the address of the installation file, clickInstallcarry out the installation

After successful installation, clickCloseJust close the window.



03

Configuring Environment Variables




Here's congratulations to the reader for having successfully installed the Python parser. Next we need to configure the computer'senvironment variable. The purpose is that when we run Python code, the system will first look for the Python parser you downloaded (here installed 3.9.12 parser), after finding the Python parser, the general call Python parser to recognize, compile and run your Python code.

So configuring your computer's environment variables here is the equivalent of configuring the address that your computer is going to call, and you need to tell your computer where to find the Python parser.

Right-click on the desktop and click Personalize.

Searched in the search box environment variable Four keywords to choose from Editing system environment variables Options.

Click high level under the environment variable options (as in computer software settings)

decide upon a candidate system variable lower PathThen click below compiler Options.

Click newly built

In red box Enter the path to your Python's file in the

The installation path here is the Python 3.9.12 file on the desktop

Once selected, click upward shift Make it move to the first position and click OK

Click recognize.

Click recognize



04

Calling the Python parser




 Congratulations to our readers who have successfully configured their environment variables. Next we need to do a little test, the purpose of which is to determine whether our computer can properly call the Python parser.

Click command prompt (computing) Enter endpoint Windows.

In endpoint window by typing "Python-version." command, and then press the keyboard Enter key.




take note of

Python-version The intent of the command is to show the version of the Python parser that is currently on your computer. If the Python parser is installed and the system environment variables are configured, the terminal will run the command and display the current Python version number. If you get a runtime error, you may not have configured the environment variables properly.

If the version number pops up, congratulations on having the Python parser installed and working.


Company Profile

Beijing Hengzhi Technology Co., Ltd. has been serving colleges and universities and research institutes all over China for a long time, and has been selected into the list of National High-tech Enterprises, Science and Technology-based Small and Medium-sized Enterprises (SMEs), Beijing Innovative SMEs, and Zhongguancun High-tech Enterprises. At the same time, we have maintained good cooperative relations with the Chinese Psychological Association, the Architectural Society of China, the Chinese Society of Ergonomics, the Chinese Society of Technology and Economics, the Chinese Society of Management Engineering, the Chinese Society of Automotive Engineering and other societies! We always insist on doing our part for the development of China's scientific research.
At present, our company has been selected as the deputy secretary-general unit of the Engineering Construction Management Professional Committee of China Society for Technical Economics and the deputy secretary-general unit of the Human-Computer Interaction Professional Committee of China Society for Ergonomics.

















Scan the code to follow us
















share (joys, benefits, privileges etc) with others
favorite
look at
kudos

en_USEnglish