It appears that Home Assistant version 2024.9.1, available on PyPI, requires Python 3.12, which cannot be installed via apt.
As a result, the tutorial on Installing Home Assistant Core is not effective since there is a line:
pip3 install homeassistant==2024.9.1
I recommend updating the tutorial to include instructions on how to compile Python 3.12.