Closed tonyflowed closed 3 years ago
Try restarting Home Assistant and try again.
Restarting didn't fix the problem. Switching venv to 3.8.6 seems to have fixed the previous issue but now I'm getting this error instead.
Logger: homeassistant.config_entries Source: config_entries.py:537 First occurred: 2:47:18 PM (1 occurrences) Last logged: 2:47:18 PM
Error occurred loading configuration flow for integration googlewifi: No module named 'grpc'
I'm not sure why your install isn't pickup up and installing dependencies correctly.
This doesn't appear to be an issue with the integration per se. Seems more related to the install environment.
Have you made any more progress on this one?
No still having the same issue. I've tried to manually install grpcio with pip3 inside the venv as well as install it outside and include system site packages for the venv but I'm still getting the same error
Managed to get grpcio installed, it seems there are no arm wheels for it on python3.8, and now everything is working!
I installed through HACS but can't get it setup correctly, when trying to add integration it gets stuck on "Please wait while the integration is being installed".
The log gives me two related errors: Logger: homeassistant.util.package Source: util/package.py:98 First occurred: December 4, 2020, 10:53:54 PM (1 occurrences) Last logged: December 4, 2020, 10:53:54 PM
Unable to install package googlewifi==0.0.16: Could not find a version that satisfies the requirement googlewifi==0.0.16 (from versions: ) No matching distribution found for googlewifi==0.0.16
and
Logger: aiohttp.server Source: requirements.py:131 First occurred: December 4, 2020, 10:53:54 PM (1 occurrences) Last logged: December 4, 2020, 10:53:54 PM
Error handling request Traceback (most recent call last): File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request resp = await self._request_handler(request) File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_app.py", line 499, in _handle resp = await handler(request) File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 118, in impl return await handler(request) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/request_context.py", line 18, in request_context_middleware return await handler(request) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/ban.py", line 72, in ban_middleware return await handler(request) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/auth.py", line 127, in auth_middleware return await handler(request) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 129, in handle result = await result File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py", line 136, in post return await super().post(request) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py", line 60, in wrapper result = await method(view, request, *args, **kwargs) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py", line 73, in post "show_advanced_options": data["show_advanced_options"], File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 119, in async_init flow = await self.async_create_flow(handler, context=context, data=data) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/config_entries.py", line 532, in async_create_flow await async_process_deps_reqs(self.hass, self._hass_config, integration) File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 344, in async_process_deps_reqs hass, integration.domain File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 75, in async_get_integration_with_requirements hass, integration.domain, integration.requirements File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 131, in async_process_requirements raise RequirementsNotFound(name, [req]) homeassistant.requirements.RequirementsNotFound: Requirements for googlewifi not found: ['googlewifi==0.0.16'].