Hi Dears,
I’m facing some issues integrating HACS.
My HA is installed in Rasbian in /home/pi/.homeassistant
i created the custom_components folder and copy the hasc inside, but when I tried to create an integration I have the following error:
Log Details (ERROR)
Fri Nov 08 2019 11:56:49 GMT+0100 (Central European Standard Time)
Unable to install package aiofiles==0.4.0: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/srv/homeassistant/lib/python3.7/site-packages/aiofiles-0.4.0.dist-info’ Consider using the --user
option or check the permissions.
Fri Nov 08 2019 11:56:49 GMT+0100 (Central European Standard Time)
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 40, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 73, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 136, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 122, 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 48, in wrapper
result = await method(view, request, *args, **kwargs)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py”, line 60, in post
handler, context={“source”: config_entries.SOURCE_USER}
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 66, 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 626, 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 292, in async_process_deps_reqs
hass, integration.domain, integration.requirements
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py”, line 83, in async_process_requirements
raise RequirementsNotFound(name, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for hacs not found: [‘aiofiles==0.4.0’].