SYSTEMROOTAND CLICK OK
%SystemRoot%
and click OK. This will add system root to the search path.
py.exe, the python interpreter is located in the system root directory by default. If you did a custom installation then you will need to enter the path to py.exe instead of %SystemRoot%. To test this, open command.exe and enter
py
at the command prompt. If you get an error then the path is not setup correctly, otherwise you should see something like:
Python 3.6.4 (v3.6.4:d48eceb December 19, 2017, 06:54:40) [MSC v.1900 64 Bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Next, select the Path variable from the User variables window at the top of the control panel and click EDIT.
In the Edit environment variable window, click NEW and add the following path
%USERPROFILE%\AppData\Local\Programs\Python\Python36
This is the default installation location of the python 3.6 installation.
If you are installing a different version, or chose a custom installation then you will need to locate the python installation directory and add the path here. Click the OK button and open command.exe. Enter the following at the command prompt
Python
If everything is setup correctly, something similar to the following should be returned:
Python 3.6.4 (v3.6.4:d48eceb December 19, 2017, 06:54:40) [MSC v.1900 64 Bit (AMD64)] on win32