indent preformatted text by 4 spaces
pi@hassbian:~ $ sudo -u homeassistant -H -s
homeassistant@hassbian:/home/pi $ source /srv/homeassistant/bin/activate
$ hass
Using the previous command as mentioned in https://www.home-assistant.io/docs/installation/hassbian/common-tasks/
Produces the following output:
(homeassistant) homeassistant@hassbian:/home/pi $ hass
Config directory: /home/homeassistant/.homeassistant
2019-01-31 20:29:00 INFO (MainThread) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2019-01-31 20:29:00 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setting up http
2019-01-31 20:29:01 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don't require it, remove the 'api_password' from your http config.
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2019-01-31 20:29:01 INFO (Thread-7) [homeassistant.util.package] Attempting install of sqlalchemy==1.2.15
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.0 seconds.
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setting up api
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setting up system_log
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setting up auth
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2019-01-31 20:29:01 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds.
2019-01-31 20:29:03 ERROR (Thread-7) [homeassistant.util.package] Unable to install package sqlalchemy==1.2.15: Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/index.py", line 14, in <module>
from pip._vendor import html5lib, requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module>
from . import _tokenizer
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module>
from ._trie import Trie
ImportError: cannot import name 'Trie'
2019-01-31 20:29:03 ERROR (MainThread) [homeassistant.requirements] Not initializing recorder because could not install requirement sqlalchemy==1.2.15
2019-01-31 20:29:03 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Could not install all requirements.
2019-01-31 20:29:03 INFO (Thread-5) [homeassistant.util.package] Attempting install of home-assistant-frontend==20190121.1
2019-01-31 20:29:03 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: recorder
2019-01-31 20:29:03 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
2019-01-31 20:29:05 ERROR (Thread-5) [homeassistant.util.package] Unable to install package home-assistant-frontend==20190121.1: Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/index.py", line 14, in <module>
from pip._vendor import html5lib, requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module>
from . import _tokenizer
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module>
from ._trie import Trie
ImportError: cannot import name 'Trie'
2019-01-31 20:29:05 ERROR (MainThread) [homeassistant.requirements] Not initializing frontend because could not install requirement home-assistant-frontend==20190121.1
2019-01-31 20:29:05 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not install all requirements.
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded xiaomi_aqara from homeassistant.components.xiaomi_aqara
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.setup] Setting up xiaomi_aqara
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded input_boolean from
[...]
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded weather from homeassistant.components.weather
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded weather.darksky from homeassistant.components.weather.darksky
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.setup] Setting up weather
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded switch from homeassistant.components.switch
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded switch.tplink from homeassistant.components.switch.tplink
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.setup] Setting up sun
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.setup] Setting up scene
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded notify from homeassistant.components.notify
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded notify.telegram from homeassistant.components.notify.telegram
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.setup] Setting up notify
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded sonos from homeassistant.components.sonos
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded sensor.meteo_france from homeassistant.components.sensor.meteo_france
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded sensor.time_date from homeassistant.components.sensor.time_date
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded sensor.command_line from homeassistant.components.sensor.command_line
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.setup] Setting up sensor
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot from homeassistant.components.telegram_bot
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot.polling from homeassistant.components.telegram_bot.polling
2019-01-31 20:29:05 INFO (MainThread) [homeassistant.loader] Loaded scene.homeassistant from homeassistant.components.scene.homeassistant
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.command_line
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.time_date
2019-01-31 20:29:06 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: recorder, frontend
2019-01-31 20:29:06 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-01-31 20:29:06 INFO (Thread-2) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 1)
2019-01-31 20:29:06 INFO (Thread-2) [xiaomi_gateway] Xiaomi Gateway 34ce008a8328 found at IP 192.168.1.27
2019-01-31 20:29:06 INFO (Thread-2) [xiaomi_gateway] Discovering Xiaomi Devices
2019-01-31 20:29:06 INFO (Thread-2) [xiaomi_gateway] Found 4 devices
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.setup] Setting up media_player
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.setup] Setting up config
[...]
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.setup] Setting up automation
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.setup] Setting up script
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.setup] Setting up switch
2019-01-31 20:29:06 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2019-01-31 20:29:07 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.1 seconds.
2019-01-31 20:29:07 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 1.7 seconds.
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/tsl2561.py", line 1, in <module>
import smbus
ImportError: No module named 'smbus'
2019-01-31 20:29:07 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.2 seconds.
2019-01-31 20:29:07 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.2 seconds.
2019-01-31 20:29:07 ERROR (Thread-12) [homeassistant.components.sensor.command_line] Command failed: python /home/homeassistant/.homeassistant/tsl2561.py
2019-01-31 20:29:07 ERROR (Thread-9) [homeassistant.util.package] Unable to install package async-upnp-client==0.13.8: Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/index.py", line 14, in <module>
from pip._vendor import html5lib, requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module>
from . import _tokenizer
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module>
from ._trie import Trie
ImportError: cannot import name 'Trie'
2019-01-31 20:29:07 ERROR (MainThread) [homeassistant.requirements] Not initializing upnp because could not install requirement async-upnp-client==0.13.8
2019-01-31 20:29:07 ERROR (MainThread) [homeassistant.setup] Setup failed for upnp: Could not install all requirements.
2019-01-31 20:29:07 INFO (Thread-14) [homeassistant.util.package] Attempting install of aiohue==1.8.0
2019-01-31 20:29:09 ERROR (Thread-14) [homeassistant.util.package] Unable to install package aiohue==1.8.0: Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/index.py", line 14, in <module>
from pip._vendor import html5lib, requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module>
from . import _tokenizer
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module>
from ._trie import Trie
ImportError: cannot import name 'Trie'
2019-01-31 20:29:09 ERROR (MainThread) [homeassistant.requirements] Not initializing hue because could not install requirement aiohue==1.8.0
2019-01-31 20:29:09 ERROR (MainThread) [homeassistant.setup] Setup failed for hue: Could not install all requirements.
2019-01-31 20:29:09 INFO (MainThread) [homeassistant.setup] Setting up updater
2019-01-31 20:29:09 INFO (Thread-7) [homeassistant.util.package] Attempting install of netdisco==2.3.0
2019-01-31 20:29:09 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2019-01-31 20:29:11 INFO (Thread-2) [xiaomi_gateway] Gateway discovery finished in 5 seconds
[...]
2019-01-31 20:29:11 INFO (MainThread) [homeassistant.loader] Loaded cover.xiaomi_aqara from homeassistant.components.cover.xiaomi_aqara
2019-01-31 20:29:11 INFO (MainThread) [homeassistant.components.cover] Setting up cover.xiaomi_aqara
2019-01-31 20:29:11 INFO (MainThread) [homeassistant.loader] Loaded lock.xiaomi_aqara from homeassistant.components.lock.xiaomi_aqara
2019-01-31 20:29:11 INFO (MainThread) [homeassistant.components.lock] Setting up lock.xiaomi_aqara
2019-01-31 20:29:11 INFO (MainThread) [homeassistant.loader] Loaded light.xiaomi_aqara from homeassistant.components.light.xiaomi_aqara
2019-01-31 20:29:11 INFO (MainThread) [homeassistant.components.light] Setting up light.xiaomi_aqara
2019-01-31 20:29:11 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 6.2 seconds.
2019-01-31 20:29:11 ERROR (Thread-7) [homeassistant.util.package] Unable to install package netdisco==2.3.0: Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/index.py", line 14, in <module>
from pip._vendor import html5lib, requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module>
from . import _tokenizer
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module>
from ._trie import Trie
ImportError: cannot import name 'Trie'
2019-01-31 20:29:11 ERROR (MainThread) [homeassistant.requirements] Not initializing discovery because could not install requirement netdisco==2.3.0
2019-01-31 20:29:11 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery: Could not install all requirements.
2019-01-31 20:29:11 INFO (Thread-3) [homeassistant.util.package] Attempting install of pysonos==0.0.6
2019-01-31 20:29:13 ERROR (Thread-3) [homeassistant.util.package] Unable to install package pysonos==0.0.6: Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/index.py", line 14, in <module>
from pip._vendor import html5lib, requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module>
from . import _tokenizer
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module>
from ._trie import Trie
ImportError: cannot import name 'Trie'
2019-01-31 20:29:13 ERROR (MainThread) [homeassistant.requirements] Not initializing sonos because could not install requirement pysonos==0.0.6
2019-01-31 20:29:13 ERROR (MainThread) [homeassistant.setup] Setup failed for sonos: Could not install all requirements.
2019-01-31 20:29:13 INFO (MainThread) [homeassistant.setup] Setting up telegram_bot
2019-01-31 20:29:13 INFO (MainThread) [homeassistant.components.telegram_bot] Setting up telegram_bot.polling
2019-01-31 20:29:14 INFO (MainThread) [homeassistant.setup] Setup of domain telegram_bot took 0.3 seconds.
[...]
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.loader] Loaded sensor.xiaomi_aqara from homeassistant.components.sensor.xiaomi_aqara
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.xiaomi_aqara
2019-01-31 20:29:16 ERROR (Thread-19) [homeassistant.util.package] Unable to install package mutagen==1.42.0: Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/srv/homeassistant/lib/python3.5/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_internal/index.py", line 14, in <module>
from pip._vendor import html5lib, requests, six
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/__init__.py", line 25, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in <module>
from . import _tokenizer
File "/srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in <module>
from ._trie import Trie
ImportError: cannot import name 'Trie'
2019-01-31 20:29:16 ERROR (MainThread) [homeassistant.requirements] Not initializing tts because could not install requirement mutagen==1.42.0
2019-01-31 20:29:16 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Could not install all requirements.
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.setup] Setting up cloud
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.kodi
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.components.switch] Setting up switch.tplink
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.components.switch] Setting up switch.tplink
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 9.9 seconds.
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 9.7 seconds.
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.loader] Loaded switch.xiaomi_aqara from homeassistant.components.switch.xiaomi_aqara
2019-01-31 20:29:16 INFO (MainThread) [homeassistant.components.switch] Setting up switch.xiaomi_aqara
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.9 seconds.
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.setup] Setting up ios
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.setup] Setup of domain ios took 0.0 seconds.
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.loader] Loaded sensor.ios from homeassistant.components.sensor.ios
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.loader] Loaded notify.ios from homeassistant.components.notify.ios
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.ios
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.components.notify] Setting up notify.ios
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 16.62s
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-01-31 20:29:17 INFO (MainThread) [homeassistant.core] Timer:starting
Strangely hass is starting, but with lot of modules are missing.
All of this is happening after upgrading to 0.86.3.