I use atom+platformio IDE on windows 7. I got a problem when atom was updated to 1.7.1. It couldn’t find pio.exe or platformio.exe command. When I open terminal screen and show $env:path the path to where pio.exe and platformio.exe command is missing.
this is what I get when getting $env:path on 1.7.1
==================
Windows PowerShell
Copyright © 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\paul> $env:path
C:\Python27;C:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;……
and this is what I get when click any platformio command
==================
Windows PowerShell
Copyright © 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\paul> pio upgrade
The term ‘pio’ 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 a
gain.
At line:1 char:4
- pio <<<< upgrade
- CategoryInfo : ObjectNotFound: (pio:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
==================
this doesn’t happen if I use atom 1.6.2 or atom 1.7.1 with -d flag as shown below
==================
Windows PowerShell
Copyright © 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\paul> $env:path
C:\Users\paul.atom\packages\platformio-ide\penv\Scripts;C:\Python27;C:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;……
==================
Windows PowerShell
Copyright © 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\paul> pio upgrade
You’re up-to-date!
PlatformIO 2.8.6 is currently the newest version available.
I suspected some incorrectly passing/adding of PATH env variable somewhere.
Any idea?