I am a attempting a new install on a Rasp Pi 4. I get this:
homeassistant@raspberrypi:/srv/homeassistant $ python3 -m venv .
homeassistant@raspberrypi:/srv/homeassistant $ source bin/activate
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ hass
2022-08-22 17:33:30.350 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
File “/srv/homeassistant/bin/hass”, line 8, in
sys.exit(main())
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/main.py”, line 191, in main
exit_code = runner.run(runtime_conf)
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/runner.py”, line 119, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File “/usr/lib/python3.9/asyncio/base_events.py”, line 642, in run_until_complete
return future.result()
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/runner.py”, line 101, in setup_and_run_hass
hass = await bootstrap.async_setup_hass(runtime_config)
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/bootstrap.py”, line 143, in async_setup_hass
await async_from_config_dict(config_dict, hass) is not None
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/bootstrap.py”, line 256, in async_from_config_dict
await _async_set_up_integrations(hass, config)
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/bootstrap.py”, line 532, in _async_set_up_integrations
recorder.async_initialize_recorder(hass)
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/recorder.py”, line 22, in async_initialize_recorder
from homeassistant.components.recorder import const, models
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/init.py”, line 23, in
from . import statistics, websocket_api
File “/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/recorder/statistics.py”, line 17, in
from sqlalchemy import bindparam, func, lambda_stmt, select
ModuleNotFoundError: No module named ‘sqlalchemy’
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=debian
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $
i even installed sqlite3:
pi@raspberrypi:~ $ sudo apt install sqlite3 -t bullseye
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following package was automatically installed and is no longer required:
libfuse2
Use ‘sudo apt autoremove’ to remove it.
Suggested packages:
sqlite3-doc
The following NEW packages will be installed:
sqlite3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,115 kB of archives.
After this operation, 3,086 kB of additional disk space will be used.
Get:1 Index of /debian bullseye/main arm64 sqlite3 arm64 3.34.1-3 [1,115 kB]
Fetched 1,115 kB in 0s (8,368 kB/s)
Selecting previously unselected package sqlite3.
(Reading database … 92900 files and directories currently installed.)
Preparing to unpack …/sqlite3_3.34.1-3_arm64.deb …
Unpacking sqlite3 (3.34.1-3) …
Setting up sqlite3 (3.34.1-3) …
Processing triggers for man-db (2.9.4-2) …
pi@raspberrypi:~ $ sqlite3 --version
3.34.1 2021-01-20 14:10:07 10e20c0b43500cfb9bbc0eaa061c57514f715d87238f4d835880cd846b9ealt1
Help is needed. Thanks.