|
手贱升级ha,homekit出现报错如下:Error during setup of component homekitTraceback (most recent call last): File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component hass, processed_config) File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/homekit/__init__.py", line 84, in async_setup await hass.async_add_executor_job(homekit.setup) File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/homekit/__init__.py", line 218, in setup from .accessories import HomeBridge, HomeDriver File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/homekit/accessories.py", line 8, in <module> from pyhap.accessory_driver import AccessoryDriver File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyhap/accessory_driver.py", line 46, in <module> from pyhap.hap_server import HAPServer File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyhap/hap_server.py", line 20, in <module> from Crypto.Protocol.KDF import HKDFModuleNotFoundError: No module named 'Crypto.Protocol'请大神帮忙解惑,谢谢。
|
|