Hi, can somebody please help me complete my hacs integration? I’ve extracted the files from the installation over to custom_components and I’m able to select "HACS (Home Assistant Community Store) from the integration menu. When I select it though, it gives me this following error:
2020-04-17 03:07:56 INFO (SyncWorker_9) [homeassistant.util.package] Attempting install of aiofiles==0.5.0
2020-04-17 03:08:08 ERROR (SyncWorker_9) [homeassistant.util.package] Unable to install package aiofiles==0.5.0: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/srv/homeassistant/lib/python3.7/site-packages/aiofiles’
Consider using the --user
option or check the permissions.
2020-04-17 03:08:08 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 39, in real_ip_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 123, in handle
result = await result
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py”, line 130, in post
return await super().post(request)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py”, line 50, in wrapper
result = await method(view, request, *args, **kwargs)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py”, line 62, in post
handler, context={“source”: config_entries.SOURCE_USER}
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 100, 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 501, 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 291, in async_process_deps_reqs
hass, integration.domain
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py”, line 55, in async_get_integration_with_requirements
hass, integration.domain, integration.requirements
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py”, line 105, in async_process_requirements
raise RequirementsNotFound(name, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for hacs not found: [‘aiofiles==0.5.0’].
Thanks