|
docker0.64版本,安装homeassistant遇到的错误提示无法连接到博联RM2,想问下有遇到过的朋友吗?然后是怎么解决的,万分感谢!
Press the button to load the full Home Assistant log.
2018-03-06 02:52:43 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform broadlinkTraceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/broadlink/__init__.py", line 5, in <module> from Crypto.Cipher import AES File "/usr/local/lib/python3.6/site-packages/Crypto/Cipher/__init__.py", line 3, in <module> from Crypto.Cipher._mode_ecb import _create_ecb_cipher File "/usr/local/lib/python3.6/site-packages/Crypto/Cipher/_mode_ecb.py", line 29, in <module> from Crypto.Util._raw_api import (load_pycryptodome_raw_lib, File "/usr/local/lib/python3.6/site-packages/Crypto/Util/_raw_api.py", line 32, in <module> from Crypto.Util.py3compat import byte_stringImportError: cannot import name 'byte_string'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 84, in async_setup SLOW_SETUP_MAX_WAIT, loop=hass.loop) File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for return fut.result() File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result raise self._exception File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/app/homeassistant/components/sensor/broadlink.py", line 60, in setup_platform broadlink_data = BroadlinkData(update_interval, host, mac_addr, timeout) File "/usr/src/app/homeassistant/components/sensor/broadlink.py", line 107, in __init__ import broadlink File "/usr/local/lib/python3.6/site-packages/broadlink/__init__.py", line 7, in <module> import pyaesModuleNotFoundError: No module named 'pyaes'2018-03-06 02:52:46 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlinkTraceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/broadlink/__init__.py", line 5, in <module> from Crypto.Cipher import AES File "/usr/local/lib/python3.6/site-packages/Crypto/Cipher/__init__.py", line 3, in <module> from Crypto.Cipher._mode_ecb import _create_ecb_cipher File "/usr/local/lib/python3.6/site-packages/Crypto/Cipher/_mode_ecb.py", line 29, in <module> from Crypto.Util._raw_api import (load_pycryptodome_raw_lib, File "/usr/local/lib/python3.6/site-packages/Crypto/Util/_raw_api.py", line 32, in <module> from Crypto.Util.py3compat import byte_stringImportError: cannot import name 'byte_string'During handling of the above exception, another exception occurred:
|
|