Problem Installing PlatformIO in VS Code

Hey Guys,

I’m getting an error when trying to install PlatformIO through VS Code. My user folder DOES have spaces in it and is an administrator. I tried enabling the general Admin account and changing it, but when I rename the folder, it says it can’t because the folder is in use, blah blah blah. I even tried renaming it after restarting the computer, still in use. Here are the logs:

ExtensionService.ts:840 Extension 'ms-toolsai.jupyter cannot use PROPOSED API (must started out of dev or enabled via --enable-proposed-api)
console.ts:137 [Extension Host] runCommand C:\Users\John A. Del Ponte\.platformio\python3\python.exe 
Array(2)
 
Object
console.ts:137 [Extension Host] Git installation not found.
console.ts:137 [Extension Host] runCommand C:\Users\John A. Del Ponte\.platformio\python3\python.exe 
Array(8)
 
Object
console.ts:137 [Extension Host] Error: Error: Compatible PlatformIO Core not found.
Reason: PlatformIO executable not found in `C:\Users\John A. Del Ponte\.platformio\penv\Scripts`

	at c:\Users\John A. Del Ponte\.vscode\extensions\platformio.platformio-ide-2.2.1\node_modules\platformio-node-helpers\dist\index.js:1:879275
	at ChildProcess.c (c:\Users\John A. Del Ponte\.vscode\extensions\platformio.platformio-ide-2.2.1\node_modules\platformio-node-helpers\dist\index.js:1:879169)
	at ChildProcess.emit (events.js:223:5)
	at ChildProcess.cp.emit (c:\Users\John A. Del Ponte\.vscode\extensions\platformio.platformio-ide-2.2.1\node_modules\cross-spawn\lib\enoent.js:34:29)
	at maybeClose (internal/child_process.js:1021:16)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
console.ts:137 [Extension Host] runCommand C:\Users\John A. Del Ponte\.platformio\python3\python.exe 
Array(2)
 
Object
console.ts:137 [Extension Host] runCommand C:\Users\John A. Del Ponte\.platformio\python3\python.exe 
Array(1)
 
Object
notificationsAlerts.ts:40 Error: Traceback (most recent call last):   File "C:\Users\John A. Del Ponte\.platformio\.cache\tmp\get-platformio-0.3.5.py", line 69, in <module>     main()   File "C:\Users\John A. Del Ponte\.platformio\.cache\tmp\get-platformio-0.3.5.py", line 61, in main     bootstrap()   File "C:\Users\John A. Del Ponte\.platformio\.cache\tmp\get-platformio-0.3.5.py", line 47, in bootstrap     pioinstaller.__main__.main()   File "C:\Users\John A. Del Ponte\.platformio\.cache\tmp\.piocore-installer-e5cpn2ic\tmpdqzml0fc\pioinstaller.zip\pioinstaller\__main__.py", line 122, in main   File "C:\Users\John A. Del Ponte\.platformio\.cache\tmp\.piocore-installer-e5cpn2ic\tmpdqzml0fc\pioinstaller.zip\cli...
DevTools failed to load SourceMap: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/ea3859d…/node_modules/windows-process-tree/lib/index.js.map: Unknown error

This issue has been resolved. I needed to add some environment variables to the PATH in order for installation to commence. Odd that the installation was not all encompassing but whatever.