|
楼主 |
发表于 2018-2-12 21:36:55
|
显示全部楼层
没解决,提示broadlink 平台建立的时候出错。
2018-02-12 21:29:55 WARNING (MainThread) [homeassistant.bootstrap] Python 3.4 support has been deprecated and will be removed in the beginning of 2018. Please upgrade Python or your operating system. More info: https://home-assistant.io/blog/2 ... python-3.4-support/
2018-02-12 21:30:05 ERROR (MainThread) [homeassistant.components.switch] 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' |
|