When I try to run a python command in Powershell, I get this error
Program 'python' failed to run: No application is associated with the specified file for this
I have python installed in C:\Users\hp\AppData\Local\Programs\Python\Python35
directory.
I tried adding it with in the system environment variable path and restarted Powershell but get the same error. Also tried doing it via the commands given in other answers, but it doesn't work