Installing Python 3 on Windows
Download the latest version of Python 3.6 from the official website
https://www.python.org/downloads/
Add Python directory to the PATH
Usually Python directory is
C:\Python36\;C:\Python36\Scripts\
You can ddd the directory C:\Python36\ to the PATH by running the following in powershell.
To open PowerShell, an interactive command line shell for Microsoft Windows, in the search, type powershell.
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python36\;C:\Python36\Scripts\", "User")
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python36")
or
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python36")
Please restart the Powershell after that
Another way To Install Python 3 and Set Up a Local Programming Environment on Windows 10