Windows python environment installation

How to build a Python development environment locally.
First of all: Python can be applied to multiple platforms including Linux and Mac OS X. Python is an interpreted language. It needs an interpreter, or virtual machine, to translate python code and run it.
You can enter the "python" command through the terminal window to check whether Python is already installed locally and the installed version of Python.

Install Python on Window platform:

1: Download the installation package: To
download python, please visit: https://www.python.org/downloads/windows/ and
select the version you want to download:

Insert picture description here
Select the Window platform installation package in the download list, which is an .msi file

2: Installation: After
downloading, double-click the download package to enter the Python installation wizard. The installation is very simple, you only need to use the default settings and keep clicking "Next" until the installation is complete.
3: Environment variable configuration

  • Right click on "Computer" and then click on "Properties"
  • Then click "Advanced System Settings"
  • Select "Path" under the "System Variables" window and double-click it!
  • Then in the "Path" line, just add the python installation path (my D:\Python32), so in the back, just add the path. ps: Remember, the path is directly separated by a semicolon ";"!
  • After the final setting is successful, enter the command "python" on the cmd command line to display the relevant display.

Guess you like

Origin blog.csdn.net/weixin_42271802/article/details/113431833