- 积分
- 636
- 金钱
- 534
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 636
- 金钱
- 534
- HASS币
- 0
|
楼主 |
发表于 2018-2-7 21:02:07
|
显示全部楼层
Log Details (ERROR)
Wed Feb 07 2018 20:59:32 GMT+0800 (CST)
Error while setting up platform broadlink
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/broadlink/__init__.py", line 5, in <module>
from Crypto.Cipher import AES
File "/srv/homeassistant/lib/python3.4/site-packages/Crypto/Cipher/__init__.py", line 78, in <module>
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File "/srv/homeassistant/lib/python3.4/site-packages/Crypto/Cipher/_mode_ecb.py", line 29, in <module>
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File "/srv/homeassistant/lib/python3.4/site-packages/Crypto/Util/_raw_api.py", line 34, in <module>
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name 'byte_string'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 189, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/switch/broadlink.py", line 74, in setup_platform
import broadlink
File "/srv/homeassistant/lib/python3.4/site-packages/broadlink/__init__.py", line 7, in <module>
import pyaes
ImportError: No module named 'pyaes'
咋整啊 |
|