Can't get PIO to work, Home doesn't want to load

I’m having the same symptom (Home doesn’t load) but likely for a different reason; I figure it’s best to post here so others find it if necessary in the future. This is the inner error, I believe:

C:\Users\kaeli_000>pio home
Traceback (most recent call last):
File "main.py", line 12, in init main
File "c:\users\kaeli_000\.platformio\penv\lib\site-packages\click\__init__.py", line 18, in <module>
    from .core import Context, BaseCommand, Command, MultiCommand, Group, \
File "c:\users\kaeli_000\.platformio\penv\lib\site-packages\click\core.py", line 8, in <module>
    from .types import convert_type, IntRange, BOOL
File "c:\users\kaeli_000\.platformio\penv\lib\site-packages\click\types.py", line 5, in <module>
    from ._compat import open_stream, text_type, filename_to_ui, \
File "c:\users\kaeli_000\.platformio\penv\lib\site-packages\click\_compat.py", line 6, in <module>
    from weakref import WeakKeyDictionary
File "C:\Users\kaeli_000\.platformio\python27\Lib\weakref.py", line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref

Any suggestions here? @ivankravets You seem to be the one who knows how to fix things :grinning:

Thanks!

Have you tried this solution?

I hadn’t! Apparently removing all Python installations from my PATH wasn’t enough. It works now.

Thanks!