Hi everyone
I’ve spent hours trying to fix this issue but I can’t seem to fix it at all:
2017-10-30 21:02:42 ERROR (MainThread) [homeassistant.setup] Error during setup of component xiaomi_aqara
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/setup.py", line 194, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 379, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 292, 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/xiaomi_aqara.py", line 93, in setup
from PyXiaomiGateway import PyXiaomiGateway
File "/home/userr/.homeassistant/deps/lib/python3.5/site-packages/PyXiaomiGateway/__init__.py", line 9, in <module>
from Crypto.Cipher import AES
File "/home/userr/.homeassistant/deps/lib/python3.5/site-packages/Crypto/Cipher/__init__.py", line 3, in <module>
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File "/home/userr/.homeassistant/deps/lib/python3.5/site-packages/Crypto/Cipher/_mode_ecb.py", line 29, in <module>
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File "/home/userr/.homeassistant/deps/lib/python3.5/site-packages/Crypto/Util/_raw_api.py", line 32, in <module>
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name 'byte_string'
I’m running v0.56.2. I’ve tried uninstalling/reinstalling pycrypto a number of times without any success.
Any ideas?
Thank you!