- 积分
- 889
- 金钱
- 829
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 889
- 金钱
- 829
- HASS币
- 0
|
楼主 |
发表于 2020-9-3 14:32:53
|
显示全部楼层
日志如下:
2020-09-02 18:20:28 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package python-miio==0.5.3: ERROR: Command errored out with exit status 1:
command: /srv/homeassistant/homeassistant_venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m22d3tfb/netifaces/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m22d3tfb/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-clr6l1fh/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.8/netifaces
cwd: /tmp/pip-install-m22d3tfb/netifaces/
Complete output (16 lines):
running install
running build
running build_ext
checking for getifaddrs...not found.
checking for getnameinfo...not found.
checking for socket IOCTLs...not found.
checking for optional header files...none found.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...none!
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...no.
building 'netifaces' extension
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNETIFACES_VERSION=0.10.9 -I/srv/homeassistant/homeassistant_venv/include -I/usr/include/python3.8 -c netifaces.c -o build/temp.linux-x86_64-3.8/netifaces.o
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /srv/homeassistant/homeassistant_venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m22d3tfb/netifaces/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m22d3tfb/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-clr6l1fh/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.8/netifaces Check the logs for full command output.
2020-09-02 18:20:28 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 117, in async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File "/srv/homeassistant/homeassistant_venv/lib/python3.8/site-packages/homeassistant/config_entries.py", line 526, in async_create_flow
await async_process_deps_reqs(self.hass, self._hass_config, integration)
File "/srv/homeassistant/homeassistant_venv/lib/python3.8/site-packages/homeassistant/setup.py", line 321, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File "/srv/homeassistant/homeassistant_venv/lib/python3.8/site-packages/homeassistant/requirements.py", line 75, in async_get_integration_with_requirements
await async_process_requirements(
File "/srv/homeassistant/homeassistant_venv/lib/python3.8/site-packages/homeassistant/requirements.py", line 132, in async_process_requirements
raise RequirementsNotFound(name, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for xiaomi_miio not found: ['python-miio==0.5.3'].
2020-09-02 18:20:31 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-02 19:23:33 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.me ... orecast/2.0/classic returned
2020-09-02 19:23:33 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 18 minutes
|
|