Error after updating to 0.67 [type object 'Callable' has no attribute '_abc_registry']

Hi All,

HASS won’t start after updating to 0.67, already tried to uninstall homeassistant but after reinstall the error is still there.

C:\Users\Jeroen\AppData\Roaming\.homeassistant>py -m homeassistant --open-ui
Traceback (most recent call last):
  File "C:\Users\Jeroen\AppData\Local\Programs\Python\Python37\lib\site-packages\homeassistant\__main__.py", line 11, in <module>
    from typing import Optional, List
  File "C:\Users\Jeroen\AppData\Local\Programs\Python\Python37\lib\site-packages\typing.py", line 1347, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "C:\Users\Jeroen\AppData\Local\Programs\Python\Python37\lib\site-packages\typing.py", line 1003, in __new__
    self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'

Tips are welcome and highly appreciated.

Sitnalta

Do you fixed this ?

I’m having the same problem…

@William_Barber I solved this problem installing the py version 3.6.5. The newst version not work here…try this.

Sorry for the late response, I fixed it by deleting all site-packages from de home assistant folder and just do a reinstall.
This was a fix for multiple updates.

1 Like

I use python -m homeassistant --open-ui instead of py -m homeassistant --open-ui and it works well!

I’m trying to get HA to run on Windows 10 for the first time and I tried both “python -m homeassistant --open-ui” and “py -m homeassistant --open-ui”. Neither worked. received the same error referred to previously AttributeError: type object ‘Callable’ has no attribute ‘_abc_registry’.

Did you run the install command first?
You can use this in a batch file:

pip3 install --upgrade homeassistant

py -m homeassistant --open-ui