python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Hi All,i have python 3.7.4(python.org) and latest version of VS Code, I'm using Windows 10 and Python is recognized in Command prompt and but In VS Code I get the above mentioned error...
Hi @kk348 Does 'py', the python launcher, work from VS Code? I think with the default Windows python installation from python.org, you only get the py launcher installed in a global location (C:\Windows\py.exe).
You could also try restarting VS Code from your command prompt (code .).
Hi @gregvanl thanks for ur response ...i restarted VS code but issue did not resolve,after restart what else should i do i.e any path setting etc?....Moreover yes you are right python launcher is installed in global location
Hi need any help here
Hi @kk348 / @YassinElZouhery - Have you selected a python interpreter via the Command Palette? You would see the selected interpreter in the lower left hand corner (ie. Python 3.7.3, etc). Assuming you have, are you seeing the same response when you try to run using the methods discussed here?
Closing given no recent reply. If you still have problems though, please feel free to re-open.