Trying to install HASS using Python 3.8.7

Hi Forum…
Im a new user to Python and Home assistant.
I have followed a tutorial (YouTube) to install Home assistant but have become stuck part way through

I then installed Python through Terminal…

homeautomation@Matts-iMac ~ % python3.8 -m pip install homeassistant
Collecting homeassistant
Downloading homeassistant-2020.12.2-py3-none-any.whl (10.1 MB)
|████████████████████████████████| 10.1 MB 7.0 MB/s

after the install had finished I tried to run the file

homeautomation@Matts-iMac ~ % hass --open-ui
zsh: command not found: hass

I be really grateful if someone could point me in the right direction,… I’m stuck.

Thanks for your help

Cheers Matt

If you used python venv (virtual environment), you may find ‘hass’ file in (venv directory)/bin. Otherwise, you need to find the path of ‘hass’. (check /bin or /usr/bin or /usr/local/bin).

Once you find the path, you can run HA by the command including path, e.g. " $ /usr/local/bin/hass".

Besides, I recommend to install HA using the python virtual environment.

For more details on manual installation, you may check the instruction page (https://www.home-assistant.io/docs/installation/raspberry-pi/).