If you installed Python with the default options, you will probably need to add Python to the PATH variable. This let's your operating system know where to look for the Python executable when you try running it.
To add Python to your PATH variable:
-
Find the path of python.exe on your system. Look in these directories or search for it.
-
Open System Properties and click on the Advanced tab
-
Click on Environment Variables
-
Under System variables find and click on the Path variable
-
In edit mode, go to the end of the line and add ;C:\Python36 or whatever folder python.exe is in. Note the semicolon before the path; this will separate it from the previous path.
If you are having problems:
Search the internet for "Add python to path on Windows 10 / Vista / XP / etc" to find instructions for your version of Windows.