Installing Home Assistant Core 2023.9.3 in a Python vEnv on Raspberry Pi 3B+
Home Assistant Core installation
2023.09,I installed Home Assistant Core 2023.9.3 in a virtual environment (pip) on a clean Raspberry Pi 3B+ device(debian 12)
Environment
Host system: Raspberry Pi 3b+
Operating system and architecture: Debain 12, arm64
Installation methods: Python virtual environment + Home Assistant Core 2022.9.3
Running method: Running Home Assistant Core in a Python virtual environment
System Information
# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
# cat /etc/debian_version
12.1
@raspberrypi:~# python3 -V
Python 3.11.5
sqlite3 --version
3.36.0 2021-06-18 18:36:39 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5
Create and change to a virtual environment for Home Assistant Core
sudo useradd -rm homeassistant20230903 -G dialout,gpio,i2c
#create a directory for the installation of Home Assistant Core
sudo mkdir /srv/homeassistant20230903
#change the owner to the homeassistant20230201 account
sudo chown homeassistant20230903:homeassistant20230903 /srv/homeassistant20230903
sudo -u homeassistant20230903 -H -s
cd /srv/homeassistant20230903
python3.11 -m venv .
source bin/activate
Install Home Assistant Core
python3 -m pip install wheel
pip3 install homeassistant==2023.9.3
System information
Version core-2023.9.3
Installation Type Home Assistant Core
Development false
Supervisor false
Docker false
User homeassistant20221103
Virtual Environment true
Python Version 3.11.5
Operating System Family Linux
Operating System Version 6.1.53-v7+
CPU Architecture armv7l
Timezone Asia/Shanghai
Configuration Directory /home/homeassistant20221103/.homeassistant
Comments
Comments are closed