Clean install: vCode plus -> no menu / home page on Windows 10

I just installed vsCode and for vsCode on Windows 10.
I am expecting a menu in PIO Home window…

… 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).

Any hints appreciated.

Update: after posting my previous, I get:


… but where is the log file to find out what is wrong here?

Further update:

  1. Have deleted the .platformio/penv folder → no change
  2. Have uninstalled the vsCode and platformio IDE, and reinstalled it → no change

Please open IDE Terminal and type pio home --port 8888. Do you see any errors?

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

  • pio home --port 8888
  •   + CategoryInfo          : ObjectNotFound: (pio:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Have also added firewall rules inbound and outbound any, any port and network -> no change (still no PlatformIO home page)

netstat -an does not show port 8888

Also the path variable does not have .platofrmio in it, hence, it would produce the error above (I assume)
C:\Program Files\Common Files\Microsoft Shared\Windows Live;
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;
C:\Program Files (x86)\Windows Live\Shared;
C:\Program Files (x86)\Common Files\Acronis\SnapAPI;
C:\Program Files\Microsoft Network Monitor 3;
C:\Program Files (x86)\Calibre2;
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;
C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;
C:\Program Files\IVI Foundation\VISA\Win64\Bin;
C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;
C:\Program Files (x86)\QuickTime\QTSystem;
C:\Program Files\TortoiseGit\bin;
C:\Program Files (x86)\PuTTY;
C:\Program Files (x86)\Skype\Phone;
C:\Program Files\Git\cmd;
C:\Program Files\smartmontools\bin;
C:\Program Files\Microsoft VS Code\bin

Are other using Windows 10 with vsCode and the PlatformIO IDE?
Is PlatformIO IDE working under Windows 10?

I have run out of ideas to get it working.
Any help appreciated.

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 “”, line 12, in init main
File “c:\users\maxg.platformio\penv\lib\site-packages\”, line 18, in
from .core import Context, BaseCommand, Command, MultiCommand, Group,
File “c:\users\maxg.platformio\penv\lib\site-packages\click\”, line 8, in
from .types import convert_type, IntRange, BOOL
File “c:\users\maxg.platformio\penv\lib\site-packages\click\”, line 5, in
from ._compat import open_stream, text_type, filename_to_ui,
File “c:\users\maxg.platformio\penv\lib\site-packages\”, line 6, in
from weakref import WeakKeyDictionary
File “C:\Users\MaxG.platformio\python27\Lib\”, line 14, in
from _weakref import (
ImportError: cannot import name _remove_dead_weakref

How many Pythons do you have in a system? Please open Control Center / Applications and check for Python. Which versions do you see?

Also, please try in the same terminal as you did before these commands

python --version
python -c "from weakref import WeakKeyDictionary; print WeakKeyDictionary"

Thanks for looking into this…

C:>python --version
Python 2.7.14

C:>python -c "from weakref import WeakKeyDictionary; print WeakKeyDictionary"

Could you try to remove manually c:\users\maxg.platformio\penv folder and restart IDE?

P.S: How many Pythons do you have installed in a system?

1 Like

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.

In any case, I appreciate your help!