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?

5
  • Possible duplicate of I'm trying to use python in powershell Commented Feb 5, 2018 at 15:59
  • did you set the path variable? Commented Feb 5, 2018 at 16:11
  • Hello, and welcome to StackOverflow! At present, your question does not have enough information to give a good answer. Please see stackoverflow.com/help/mcve. Commented Feb 7, 2018 at 3: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. code.visualstudio.com/docs/python/environments. Commented Feb 15, 2018 at 5: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 Commented Mar 14, 2019 at 22:28

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.