|
发表于 2018-7-23 23:05:47
|
显示全部楼层
第五步,执行以下命令就可以启动HomeAssistant 了。遇到问题了,求指导。注:装的官改V1.6,是不是这个原因?前面四步在做好U盘的软链接后,都很顺利的搞定了。重新运行了前面1-4步,第5步还是不行,只能求救了。
[K3 /tmp/media/nand/opt]# python3 -m homeassistant --open-ui --config /root/.hom
eassistant
Traceback (most recent call last):
File "/runpy.py", line 193, in _run_module_as_main
File "/runpy.py", line 85, in _run_code
File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 377, in <module>
sys.exit(main())
File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 352, in main
args = get_arguments()
File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 85, in get_arguments
import homeassistant.config as config_util
File "/opt/lib/python3.6/site-packages/homeassistant/config.py", line 16, in <module>
from homeassistant.auth import providers as auth_providers
ImportError: cannot import name 'providers'
|
|