楼主,感谢你的教程,我折腾安装好了,但是我用的是ubuntu 17.10 使用你的教程前面通畅无阻,但最后访问web查看日志时发现以下错误
2018-03-28 13:45:43 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package warrant==0.6.1: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-n0w8kh9q/pycryptodome/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-i7nc2sof-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/pycryptodome" failed with error code 1 in /tmp/pip-build-n0w8kh9q/pycryptodome/
2018-03-28 13:45:43 ERROR (MainThread) [homeassistant.requirements] Not initializing cloud because could not install requirement warrant==0.6.1
2018-03-28 13:45:43 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not install all requirements.
最后还是得跑到虚拟环境下安装 warrant 组件才后日志才不会提示有问题。请将
pip3 install warrant
的组件安装方法加在
之前,完善教程,防止新手们碰到这个问题 |