OK, so immediately after installing PlatformIO, the VS Code displays a popup about “Reload the workspace for the settings change to take effect.” I hit that, and it reformats the page in Code, and then I get the pop-up again saying the same thing. I do that 5 or 6 times, but it keeps coming back, so I finally give up on that and close Code and reopen it. But still, there is nothing in the lower left corner of Code that shows a house or home button for platformIO. So I try going to the terminal and type ‘pio home’. That brings up a web page. There, I tried to import an Arduino project. So, I pick an old Arduino project, select Arduino Uno as the board, and then browse for the *.ino file and select import. I get an error about python.exe not being allowed to open a directory from Windows and I get popups on the webpage saying: Server error: {“type”:“FileNotFoundError”,“args”:[2,“The system cannot find the file specified”],“message”:“[WinError 2] The system cannot find the file specified: ‘d:\\Users\\mshaw\\Documents\\PlatformIO\\Projects’”
So then I try New Project, select a board, and I get a popup that says: Could not initialize project
Invalid params
Somewhere in all of this, I get error messages on the terminal window of Code that say:
Error: {‘type’: ‘FileNotFoundError’, ‘args’: (2, ‘The system cannot find the file specified’), ‘message’: “[WinError 2] The system cannot find the file specified: ‘d:\\Users\\mshaw\\Documents\\PlatformIO\\Projects’”}
Error: {‘type’: ‘FileNotFoundError’, ‘args’: (2, ‘The system cannot find the file specified’), ‘message’: “[WinError 2] The system cannot find the file specified: ‘d:\\Users\\mshaw\\Documents\\PlatformIO\\Projects’”}
Directories did not get created and files copied over at install time.
I have searched the forum and tried anything I could find (that is how I learned about pio home), but still, nothing works. I can’t follow the installation directions for PlatformIO because there is no home button for PlatformIO on the lower left corner of Code.
Can you help me get this installed? I wrote code for mainframes, UNIX boxes, and Windows machines for 38 years. I can handle command line stuff, and I know how to write installation processes in Windows with Powershell and/or msi.
My theory is that something is broken in the installation process of PlatformIO.
Monty