PlatformIO Community

Platform IO VSCODE install error

Get the following error during the installation process:

workbench.desktop.main.js:87 [Extension Host] Error: Error: Compatible PlatformIO Core not found.
Reason: PlatformIO executable not found in `C:\Users\Alex.Wendt\.platformio\penv\Scripts`

	at c:\Users\Alex.Wendt\.vscode\extensions\platformio.platformio-ide-2.5.5-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5311
	at ChildProcess.o (c:\Users\Alex.Wendt\.vscode\extensions\platformio.platformio-ide-2.5.5-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:4691)
	at ChildProcess.emit (node:events:526:28)
	at ChildProcess.emit (node:domain:475:12)
	at maybeClose (node:internal/child_process:1092:16)
	at ChildProcess._handle.onexit (node:internal/child_process:302:5)
E @ workbench.desktop.main.js:87
workbench.desktop.main.js:87 [Extension Host] runCommand C:\Program Files\Python310\python.exe Array(3) Object
workbench.desktop.main.js:87 [Extension Host] runCommand C:\Program Files\Python310\python.exe Array(1) Object
workbench.desktop.main.js:820 Error: Traceback (most recent call last):   File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\get-platformio-1.1.2.py", line 69, in <module>     main()   File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\get-platformio-1.1.2.py", line 61, in main     bootstrap()   File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\get-platformio-1.1.2.py", line 47, in bootstrap     pioinstaller.__main__.main()   File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\.piocore-installer-rshhqvef\tmpc5vmbz85\pioinstaller.zip\pioinstaller\__main__.py", line 133, in main   File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\.piocore-installer-rshhqvef\tmpc5vmbz85\pioinstaller.zip\click\core.py", line 1128, in __call__...
onDidChangeNotification @ workbench.desktop.main.js:820
workbench.desktop.main.js:87 [Extension Host] rejected promise not handled within 1 second: RequestError: read ECONNRESET
E @ workbench.desktop.main.js:87
workbench.desktop.main.js:87 [Extension Host] stack trace: RequestError: read ECONNRESET
	at ClientRequest.<anonymous> (c:\Users\Alex.Wendt\.vscode\extensions\platformio.platformio-ide-2.5.5-win32-x64\node_modules\got\dist\source\core\index.js:970:111)
	at Object.onceWrapper (node:events:646:26)
	at ClientRequest.emit (node:events:538:35)
	at ClientRequest.emit (node:domain:475:12)
	at origin.emit (c:\Users\Alex.Wendt\.vscode\extensions\platformio.platformio-ide-2.5.5-win32-x64\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)
	at TLSSocket.socketErrorListener (node:_http_client:442:9)
	at TLSSocket.emit (node:events:526:28)
	at TLSSocket.emit (node:domain:475:12)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
	at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
E @ workbench.desktop.main.js:87
workbench.desktop.main.js:2302 [[object Object]]read ECONNRESET
$onExtensionRuntimeError @ workbench.desktop.main.js:2302
workbench.desktop.main.js:2302 RequestError: read ECONNRESET
	at ClientRequest.<anonymous> (c:\Users\Alex.Wendt\.vscode\extensions\platformio.platformio-ide-2.5.5-win32-x64\node_modules\got\dist\source\core\index.js:970:111)
	at Object.onceWrapper (node:events:646:26)
	at ClientRequest.emit (node:events:538:35)
	at ClientRequest.emit (node:domain:475:12)
	at origin.emit (c:\Users\Alex.Wendt\.vscode\extensions\platformio.platformio-ide-2.5.5-win32-x64\node_modules\@szmarczak\http-timer\dist\source\index.js:43:20)
	at TLSSocket.socketErrorListener (node:_http_client:442:9)
	at TLSSocket.emit (node:events:526:28)
	at TLSSocket.emit (node:domain:475:12)
	at emitErrorNT (node:internal/streams/destroy:157:8)
	at emitErrorCloseNT (node:internal/streams/destroy:122:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
	at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
$onExtensionRuntimeError @ workbench.desktop.main.js:2302
DevTools failed to load source map: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/6261075646f055b99068d3688932416f2346dd3b/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout
Error: Traceback (most recent call last):
  File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\get-platformio-1.1.2.py", line 69, in <module>
    main()
  File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\get-platformio-1.1.2.py", line 61, in main
    bootstrap()
  File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\get-platformio-1.1.2.py", line 47, in bootstrap
    pioinstaller.__main__.main()
  File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\.piocore-installer-rshhqvef\tmpc5vmbz85\pioinstaller.zip\pioinstaller\__main__.py", line 133, in main
  File "C:\Users\Alex.Wendt\.platformio\.cache\tmp\.piocore-installer-rshhqvef\tmpc5vmbz85\pioinstaller.zip\click\core.py", line 1128, in __call__...
  • Do you have antivirus active that could interfer?
  • Close VSCode, delete the entire C:\Users\Alex.Wendt\.platformio folder and restart VSCode (with the PlatformIO extension still installed). The extension should try and install the core again. Is it successful this time?