Hello,
I’m currently debugging on windows with visual studio code and docker. I just did a ‘git pull’ to the the current dev version of Home Assistant core. When I now want to start debugging I get the following error:
Exception has occurred: ModuleNotFoundError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
No module named 'aiohttp_asyncmdnsresolver'
File "/workspaces/core/homeassistant/helpers/aiohttp_client.py", line 18, in <module>
from aiohttp_asyncmdnsresolver.api import AsyncMDNSResolver
File "/workspaces/core/homeassistant/helpers/config_entry_oauth2_flow.py", line 33, in <module>
from .aiohttp_client import async_get_clientsession
File "/workspaces/core/homeassistant/components/auth/__init__.py", line 158, in <module>
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2AuthorizeCallbackView
File "/workspaces/core/homeassistant/bootstrap.py", line 41, in <module>
from .components import (
File "/workspaces/core/homeassistant/runner.py", line 16, in <module>
from . import bootstrap
File "/workspaces/core/homeassistant/__main__.py", line 192, in main
from . import config, runner
File "/workspaces/core/homeassistant/__main__.py", line 227, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/runpy.py", line 88, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.12/runpy.py", line 198, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
ModuleNotFoundError: No module named 'aiohttp_asyncmdnsresolver'
So my guess is, that the dependencies are not correctly updated. Is there any documentation how to correctly update the dev environment?