The python compiler cannot open the python command in the cmd command window is an external command directly jump to the app store

Special issue 1

After entering python in the command line, the prompt is as follows.
Super crazy.
Insert picture description here

Solution:

Add the installation path of python to the environment variable

  • First find the installation path pythonx.x
    I am version 3.8 here,
    so the path is
    Insert picture description here
  • Second, search for "environmental variables" in your computer
    Insert picture description here
  • Fill in the python installation path in the system variables as shown in the figure
    Insert picture description here
    Insert picture description here

Insert picture description here

Special issue 2: Jump directly to the application store

There is no response after entering python --version in the cmd command window. After
entering python, the python compiler cannot be opened,
as shown in the figure below
Insert picture description here

Solution:

Find the system and
Insert picture description here
turn off these two options
Insert picture description here
.
Insert picture description here
Now we can quickly open python.exe directly in the command line~

Guess you like

Origin blog.csdn.net/qq_45704942/article/details/113062723