1

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.

I have downloaded Python 3 and the extension. I have shut down VScode and restarted. Can anyone help with this?

Mika Sundland
  • 18,120
  • 16
  • 38
  • 50
anglelovesea
  • 11
  • 1
  • 2
  • Possible duplicate of [I'm trying to use python in powershell](https://stackoverflow.com/questions/11813435/im-trying-to-use-python-in-powershell) – ReturnTable Feb 05 '18 at 15:59
  • did you set the path variable? – Hafiz Mujadid Feb 05 '18 at 16:11
  • Hello, and welcome to StackOverflow! At present, your question does not have enough information to give a good answer. Please see https://stackoverflow.com/help/mcve. – Elliott Beach Feb 07 '18 at 03:37
  • If running a pythin file in the terminal please use the comnand "Python Run current file in terminal". Also Please ensure you have configured the Python interpreter, check the following documentation. https://code.visualstudio.com/docs/python/environments. – Don Feb 15 '18 at 05:35
  • Same problem here. I have followed all the instructions in the hello world tutorial, but the python interpreter cannot be found in VS Code – Kokodoko Mar 14 '19 at 22:28

1 Answers1

0

First, check if python is added to the path(python does this during the installation). If the path is properly added and still you are facing the issue, then VS Code is looking at the wrong place. use this link to select the path added by python(or you) then run it.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Saiteja
  • 1
  • 1