When installing PlatformIO in VSCode I get the following results:
Installing PlatformIO IDE…
It may take a few minutes depending on your connection speed
Please do not close this window and do not open other folders until this process is completed.
Debugging information is available via VSCode > Help > Toggle Developer Tools > Console.
Failed to install PlatformIO IDE.
Error: Could not start PIO Home server: Timeout error at Timeout._onTimeout (c:\Users\Leisa’s Craft Room.vscode\extensions\platformio.platformio-ide-3.3.3-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:10800) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)…
I followed a thread that discussed issues installing V3.3.3 and lengthened file names. I have deleted .platformio directory between every install. I have tried going back multiple versions. I have installed python separately. Nothing I have tried changes the installation result. I have upgraded my Ender 3 Pro with multiple items and need to rebuild the firmware as the firmware files I am finding online do not meet my needs. My printer is currently down and I could really use some help figuring out this installation issue.
Thank you so very much I had tried for several days without success. Your information had me running in just a few minutes. I am excited to get started on improving my printer even more.
I’ve just lost 3 hours trying to install platformio on vscode on mac.
The script worked like a charm.
You should point to it from the VSCode plugin installation.
I have same issue as described in OP, so I tried the method described here, but I get this error when i run it:
C:\KBoPlatformio>python.exe get-platformio.py
Traceback (most recent call last):
File "get-platformio.py", line 70, in <module>
main()
File "get-platformio.py", line 62, in main
bootstrap()
File "get-platformio.py", line 46, in bootstrap
import pioinstaller.__main__
File "C:\KBoPlatformio\.piocore-installer-pf9ani\tmpj1e4jf\pioinstaller.zip\pioinstaller\__main__.py", line 20, in <module>
File "C:\KBoPlatformio\.piocore-installer-pf9ani\tmpj1e4jf\pioinstaller.zip\click\__init__.py", line 7, in <module>
File "C:\KBoPlatformio\.piocore-installer-pf9ani\tmpj1e4jf\pioinstaller.zip\click\core.py", line 50
ctx: "Context", incomplete: str
^
SyntaxError: invalid syntax