Under normal circumstances, the location of python in Windows is as follows: (the default location of python installation) Of course, you may also install it in other places
Find the folder where python is located, go to
This computer - "right-click properties -" on the right to find advanced system settings - "environment variables -" system variables - "find path -" click and add the python path we found.
At this time, open cmd and enter python to call python.