|
发表于 2018-5-6 14:26:06
|
显示全部楼层
安装完HA运行是这样的,卸载重装几次都这样。我是需要用你说的这个镜像了吗?镜像又如何用
(homeassistant) homeassistant@localhost:/home/android$ hass
Traceback (most recent call last):
File "/srv/homeassistant/bin/hass", line 11, in <module>
sys.exit(main())
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/__main__.py", line 368, in main
exit_code = setup_and_run_hass(config_dir, args)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/__main__.py", line 247, in setup_and_run_hass
from homeassistant import bootstrap
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/bootstrap.py", line 14, in <module>
from homeassistant import (
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/config_entries.py", line 120, in <module>
from .setup import async_setup_component, async_process_deps_reqs
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 9, in <module>
from homeassistant import requirements, core, loader, config as conf_util
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/requirements.py", line 7, in <module>
import homeassistant.util.package as pkg_util
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/package.py", line 10, in <module>
from pip.locations import running_under_virtualenv
ImportError: No module named 'pip.locations'
(homeassistant) homeassistant@localhost:/home/android$
|
|