|
发表于 2018-3-19 20:15:36
|
显示全部楼层
本帖最后由 polofun 于 2018-3-19 20:19 编辑
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
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__init__.py", line 45, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/vcs/mercurial.py", line 9, in <module>
from pip.download import path_to_url
File "/srv/homeassistant/lib/python3.5/site-packages/pip/download.py", line 40, in <module>
from pip._vendor import requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/requests/__init__.py", line 98, in <module>
from . import packages
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/requests/packages.py", line 12, in <module>
sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.contrib'
出来了,对了,忘了说个小细节,我在手机屏幕最后第二行看见说rc.local ... fail
|
|