Manuall installation on Raspberry Pi Buster, several errors on start


Just followed this manual on a Raspberry Pi 3 with Raspbian-Lite (Buster):

When starting “hass” for the first time, I am getting this errors in the console:

[email protected]:/home/pi $ /srv/homeassistant/bin/hass
Unable to find configuration. Creating default one in /home/homeassistant/.homeassistant
2020-06-21 07:36:14 ERROR (MainThread) [homeassistant.setup] Error during setup of component alexa
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/", line 190, in _async_setup_component
    result = await asyncio.wait_for(task, SLOW_SETUP_MAX_WAIT)
  File "/usr/lib/python3.7/asyncio/", line 416, in wait_for
    return fut.result()
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/alexa/", line 101, in async_setup
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/", line 459, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/", line 264, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.7/importlib/", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/logbook/", line 7, in <module>
    from sqlalchemy.exc import SQLAlchemyError
ModuleNotFoundError: No module named 'sqlalchemy'
2020-06-21 07:36:14 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cloud. Setup failed for dependencies: alexa
2020-06-21 07:36:14 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not set up all dependencies.

Home-Assistant seems to work, I can login and work with it, but I am worried about “ModuleNotFoundError: No module named ‘sqlalchemy’” ? and “Setup failed for dependencies: alexa” as I would like to integrate Alexa later.

What should I do to solve those errors?

Try starting it again. I know I’ve heard others report that issue, and a second start clears it.

Thank you! Maybe this should be written in the installation manual…? :slight_smile:

Anybody can submit a PR to the install docs :wink: Use the Edit this page link on the top right