2019-04-15 00:37:05 ERROR (MainThread) [homeassistant.setup] Error during setup of component homekit
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/setup.py", line 151, in _async_setup_component
hass, processed_config)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/homekit/__init__.py", line 80, in async_setup
await hass.async_add_executor_job(homekit.setup)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/homekit/__init__.py", line 214, in setup
from .accessories import HomeBridge, HomeDriver
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/homekit/accessories.py", line 8, in <module>
from pyhap.accessory_driver import AccessoryDriver
File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/pyhap/accessory_driver.py", line 46, in <module>
from pyhap.hap_server import HAPServer
File "/home/pi/.homeassistant/deps/lib/python3.5/site-packages/pyhap/hap_server.py", line 20, in <module>
from Crypto.Protocol.KDF import HKDF
ImportError: cannot import name 'HKDF'