Python working on cmd but not via atom

I recently installed Atom in my windows 10 computer. I installed python 3 and also made changes in environment variables. INside atom i installed a package called "platformio-ide-terminal " which basically opens PowerShell inside atom. So when i try to run any program i get the following error :

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.
At line:1 char:1

  • python
  •   + CategoryInfo          : ObjectNotFound: (python:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Please help

Have you restarted Atom since you changed your PATH?

I figured out the issue. I was getting the issue as i did not run the application in admin mode

That should not be necessary. Did you install Python with elevated permissions, or under a different user?