So I tried to get that extension to work on my computer all day yesterday, today I tried on my laptop and the same error comes up… Here is said error, coming up on VSCode:
Error: Traceback (most recent call last):
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\python.py", line 170, in find_compatible_pythons
File "C:\.platformio\python3\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\.platformio\python3\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\Vince\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe', 'C:\\.platformio\\.cache\\tmp\\get-platformio-1.0.0.py', '--no-shutdown-piohome', 'check', 'python']' returned non-zero...
This error directs me to this issue on the PlatformIO Github:
I did all the first 2 steps and the third doesn’t apply since the “.platformio” file is directly under C:
The cmd promp shows me the same error when I push this command as per step 2 (C:.platformio>python3\python.exe .cache\tmp\get-platformio-0.3.5.py)
Here is the error from the cmd promp:
Installer version: 1.0.0
Platform: Windows-10
Python version: 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
Python path: C:\.platformio\python3\python.exe
Creating a virtual environment at C:\.platformio\penv
Traceback (most recent call last):
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\pioinstaller\python.py", line 170, in find_compatible_pythons
File "C:\.platformio\python3\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\.platformio\python3\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\Vince\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe', 'C:\\.platformio\\.cache\\tmp\\get-platformio-1.0.0.py', '--no-shutdown-piohome', 'check', 'python']' returned non-zero exit status 9009.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\.platformio\.cache\tmp\get-platformio-1.0.0.py", line 69, in <module>
main()
File "C:\.platformio\.cache\tmp\get-platformio-1.0.0.py", line 61, in main
bootstrap()
File "C:\.platformio\.cache\tmp\get-platformio-1.0.0.py", line 47, in bootstrap
pioinstaller.__main__.main()
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\pioinstaller\__main__.py", line 131, in main
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\click\core.py", line 829, in __call__
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\click\core.py", line 782, in main
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\click\core.py", line 1236, in invoke
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\click\core.py", line 1066, in invoke
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\click\core.py", line 610, in invoke
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\click\decorators.py", line 21, in new_func
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\pioinstaller\__main__.py", line 61, in cli
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\pioinstaller\core.py", line 67, in install_platformio_core
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\pioinstaller\core.py", line 95, in _install_platformio_core
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\pioinstaller\penv.py", line 52, in create_core_penv
File "C:\.platformio\.cache\tmp\.piocore-installer-zz8z2b8r\tmpvqh3cyo4\pioinstaller.zip\pioinstaller\python.py", line 191, in find_compatible_pythons
UnboundLocalError: local variable 'error' referenced before assignment
For Schwitz and Giggles, here is the Debugging information from VSCode when I try to install PlatformIO:
Error: Traceback (most recent call last):
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\python.py", line 170, in find_compatible_pythons
File "C:\.platformio\python3\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\.platformio\python3\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\Vince\\AppData\\Local\\Microsoft\\WindowsApps\\python3.exe', 'C:\\.platformio\\.cache\\tmp\\get-platformio-1.0.0.py', '--no-shutdown-piohome', 'check', 'python']' returned non-zero exit status 9009.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\.platformio\.cache\tmp\get-platformio-1.0.0.py", line 69, in <module>
main()
File "C:\.platformio\.cache\tmp\get-platformio-1.0.0.py", line 61, in main
bootstrap()
File "C:\.platformio\.cache\tmp\get-platformio-1.0.0.py", line 47, in bootstrap
pioinstaller.__main__.main()
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\__main__.py", line 131, in main
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\click\core.py", line 829, in __call__
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\click\core.py", line 782, in main
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\click\core.py", line 1236, in invoke
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\click\core.py", line 1066, in invoke
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\click\core.py", line 610, in invoke
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\click\decorators.py", line 21, in new_func
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\__main__.py", line 61, in cli
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\core.py", line 67, in install_platformio_core
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\core.py", line 95, in _install_platformio_core
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\penv.py", line 52, in create_core_penv
File "C:\.platformio\.cache\tmp\.piocore-installer-5j9oer33\tmp5xe1e5c8\pioinstaller.zip\pioinstaller\python.py", line 191, in find_compatible_pythons
UnboundLocalError: local variable 'error' referenced before assignment
-> Installer version: 1.0.0
Platform: Windows-10
Python version: 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
Python path: C:\.platformio\python3\python.exe
Creating a virtual environment at C:\.platformio\penv
at c:\Users\Vince\.vscode\extensions\platformio.platformio-ide-2.3.0\node_modules\platformio-node-helpers\dist\index.js:1:930873 at ChildProcess.c (c:\Users\Vince\.vscode\extensions\platformio.platformio-ide-2.3.0\node_modules\platformio-node-helpers\dist\index.js:1:930767) at ChildProcess.emit (events.js:315:20) at ChildProcess.EventEmitter.emit (domain.js:483:12) at ChildProcess.cp.emit (c:\Users\Vince\.vscode\extensions\platformio.platformio-ide-2.3.0\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:286:5)
v @ console.ts:137
DevTools failed to load SourceMap: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/f30a9b73e8ffc278e71575118b6bf568f04587c8/node_modules/windows-process-tree/lib/index.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE