0

I am getting error when I am trying to execute a Python script in Atom.

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. At line:1 char:7 + python <<<< .\loading.py + CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException]1

1
  • Welcome to SO. Please have a look here to learn how to improve your questions (formatting, proofreading, providing code etc.): stackoverflow.com/help/how-to-ask Commented Apr 20, 2018 at 5:19

3 Answers 3

0

It looks like you have not added the path to Python, in your Environmental Path variable. Try adding C:\Python36\ and C:\Python36\Scripts\ to the PATH

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

Comments

0

Add this path to the 'Path' in system variable in environment variables.

C:\Users\%user profile%\AppData\Local\atom\bin

Make sure to use your "user profile" in the path. It worked for me!

Comments

0

Open atom through power shell
Should work

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.