Thanks for the suggestions. I have moved forward now and just tried to install Home Assistant resulting in the following error:
root@orangepizero:~# cd /srv
root@orangepizero:/srv# sudo mkdir homeassistant
root@orangepizero:/srv#
root@orangepizero:/srv# sudo useradd -rm homeassistant
root@orangepizero:/srv# sudo chown homeassistant:homeassistant homeassistant
root@orangepizero:/srv# sudo -u homeassistant -H -s
homeassistant@orangepizero:/srv$ cd /srv/homeassistant
homeassistant@orangepizero:/srv/homeassistant$ python3 -m venv .
homeassistant@orangepizero:/srv/homeassistant$ source bin/activate
(homeassistant) homeassistant@orangepizero:/srv/homeassistant$ /srv/homeassistant $ python3 -m pip install wheel
bash: /srv/homeassistant: Is a directory
(homeassistant) homeassistant@orangepizero:/srv/homeassistant$ sudo chown homeassistant:homeassistant homeassistant
[sudo] password for homeassistant:
Sorry, try again.
[sudo] password for homeassistant:
Sorry, try again.
[sudo] password for homeassistant:
sudo: 3 incorrect password attempts
(homeassistant) homeassistant@orangepizero:/srv/homeassistant$ chown homeassistant:homeassistant homeassistant
chown: cannot access âhomeassistantâ: No such file or directory
(homeassistant) homeassistant@orangepizero:/srv/homeassistant$
(homeassistant) homeassistant@orangepizero:/srv/homeassistant$ python3 -m pip install wheel
Collecting wheel âŚâŚâŚâŚ.
Complete output from command /srv/homeassistant/bin/python3 -u -c âimport setuptools, tokenize;file=â/tmp/pip-build-jkw23df_/cryptography/setup.pyâ;f=getattr(tokenize, âopenâ, open)(file);code=f.read().replace(â\r\nâ, â\nâ);f.close();exec(compile(code, file, âexecâ))â bdist_wheel -d /tmp/tmpz71p_0evpip-wheel- --python-tag cp36:
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
#include <ffi.h>
compilation terminated.
Googled this to this site: https://stackoverflow.com/questions/22073516/failed-to-install-python-cryptography-package-with-pip-and-setup-py where the following was suggested:
sudo apt-get install libffi-dev g++ libssl-dev
which led to this:
(homeassistant) homeassistant@orangepizero:/srv/homeassistant$ sudo apt-get install libffi-dev g++ libssl-dev
[sudo] password for homeassistant:
Here we go again. I think I may have left something out or done it out of order. The folder system has become very confusing.