Error when install PlatformIo in Visual Studio Code

I’m getting this error when tried to install it in Visual studio Code.

Error: Traceback (most recent call last):
File “C:\Users…platformio.cache\tmp.piocore-installer-73w43ygo\tmp2w25yt9o\pioinstaller.zip\pioinstaller\python.py”, line 199, in find_compatible_pythons
File “C:\Users…platformio\python3\lib\subprocess.py”, line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “C:\Users…platformio\python3\lib\subprocess.py”, line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '[‘C:\Users\…\AppData\Local\Microsoft\WindowsApps\python3.exe’, 'C:\Users\…\.platformio\.cache\tmp\get-platformio-1.0.2.py…

What cause this issue?

Do not use Microsoft’s fake python3.exe version to install PlatformIO. Already discussed in I can't install platfomio in the last version 2.3.0 and related.

1 Like