|
发表于 2018-5-14 23:17:44
|
显示全部楼层
大佬,第五步5. 执行以下命令就可以启动HomeAssistant 了
python3 -m homeassistant --open-ui --config /root/.homeassistant,输入完 出现这个:
[K3 /tmp/media/nand/opt]# python3 -m homeassistant --open-ui --config /root/.homeassistant
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 376, in <module>
sys.exit(main())
File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 351, in main
args = get_arguments()
File "/opt/lib/python3.6/site-packages/homeassistant/__main__.py", line 84, in get_arguments
import homeassistant.config as config_util
File "/opt/lib/python3.6/site-packages/homeassistant/config.py", line 27, in <module>
import homeassistant.helpers.config_validation as cv
ModuleNotFoundError: No module named 'homeassistant.helpers.config_validation'
这是什么原因? |
|