… but it has a blue progress bar of sort running form left to right and back… it is not doing anything else.
Hence, I can’t select open new project and select a board as shown in the tutorial (Quick Start).
PS D:\MaxG_MyDocuments\ArduinoWorkspace> pio home --port 8888
pio : The term ‘pio’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1
I had no path set to the penv directory
… added a path and ran pio home --port 8888
… and now get these errors:
C:>pio home --port 8888
Traceback (most recent call last):
File “main.py”, line 12, in init main
File “c:\users\maxg.platformio\penv\lib\site-packages\click_init_.py”, line 18, in
from .core import Context, BaseCommand, Command, MultiCommand, Group,
File “c:\users\maxg.platformio\penv\lib\site-packages\click\core.py”, line 8, in
from .types import convert_type, IntRange, BOOL
File “c:\users\maxg.platformio\penv\lib\site-packages\click\types.py”, line 5, in
from ._compat import open_stream, text_type, filename_to_ui,
File “c:\users\maxg.platformio\penv\lib\site-packages\click_compat.py”, line 6, in
from weakref import WeakKeyDictionary
File “C:\Users\MaxG.platformio\python27\Lib\weakref.py”, line 14, in
from _weakref import (
ImportError: cannot import name _remove_dead_weakref
There was Python 2.6, 2.7.12 and 3.5; on a different drive; all three did not have a search path; just uninstalled all three plus a Python launcher.
Deleted the /penv folder… it is still installing, back in a tick…
Well, well… I am seeing this in the output window: [Info - 07:49:15] Initialising [Info - 07:49:19] Initialised in 5409 ms [Info - 07:49:19] Intelephense 0.8.6 [Info - 07:49:21] Indexing started. [Info - 07:50:35] Indexing ended | 2472 files | 74.202 s
… and I have a home screen!! Woohoo.
Since I have deleted the /penv folder before, I suspect the other Python installations were the culprit.
I now realise, I should have taken two separate steps 1. delete Pythons start vsCode; then 2. delete /penv if necessary.