- 积分
- 224
- 金钱
- 185
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 224
- 金钱
- 185
- HASS币
- 0
|
发表于 2021-3-8 22:42:04
|
显示全部楼层
大佬,请问这个插件只能在hassio中使用吗?我直接用的homeassistant官方的系统Home Assistant OS,运行插件时候报错了。报错代码如下:
2021-03-08 11:56:47 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration deebot - received exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 64, in async_setup_component
return await task # type: ignore
File "/usr/src/homeassistant/homeassistant/setup.py", line 158, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
File "/usr/src/homeassistant/homeassistant/setup.py", line 343, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File "/usr/src/homeassistant/homeassistant/requirements.py", line 79, in async_get_integration_with_requirements
await async_process_requirements(
File "/usr/src/homeassistant/homeassistant/requirements.py", line 126, in async_process_requirements
if pkg_util.is_installed(req):
File "/usr/src/homeassistant/homeassistant/util/package.py", line 44, in is_installed
return version(req.project_name) in req
File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3129, in __contains__
return self.specifier.contains(item, prereleases=True)
File "/usr/local/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 789, in contains
item = parse(item)
File "/usr/local/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py", line 56, in parse
return Version(version)
File "/usr/local/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py", line 275, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
小白完全看不懂这是什么意思,希望有大佬能说下这是什么原因。。 |
|