#Does anyone know who I can install

1 messages · Page 1 of 1 (latest)

obsidian thunder
#

Your custom component should list that library as a requirement, and then HA will install it for you

quaint mist
#

i did that - but the installation failed.

obsidian thunder
#

Then you need to check why it failed

#

Because that is the only way to do it, you can't manually hack package installs

quaint mist
#

In manifest.yaml:
...
"requirements": ["pycurl"],
...

The Installer says:
---SNIP---
Der Konfigurationsfluss konnte nicht geladen werden: 500 Internal Server Error Server got itself in trouble
---SNAP---

The home-assistant.loc say:
2023-04-21 14:16:42.188 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)

[...]

async_process_requirements
await self._async_process_requirements(name, missing)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 290, in _async_process_requirements
raise RequirementsNotFound(name, list(failures))
homeassistant.requirements.RequirementsNotFound: Requirements for lx_net not found: ['pycurl'].

#

config pip3 install pycurl:
----SNIP---
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [30 lines of output]
Traceback (most recent call last):
[...]
FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
----SNAP---
curl-config is usually part of libcurl, but libcurl ist installed.
----SNIP---
apk add libcurl
OK: 300 MiB in 187 packages
----SNAP---