I did it following your indications, but, first of all i was forced to use sudo for all commands as using “sudo su -s /bin/bash homeassistant” i got the perimssion denied. Then after using the command “python3 -m pip install homeassistant” the system downloaded all packages but at the end i got:
Installing collected packages: text-unidecode, python-slugify, pyyaml, attrs, voluptuous, pytz, astral, PyJWT, chardet, idna, urllib3, certifi, requests, async-timeout, pycparser, cffi, six, cryptography, ruamel.yaml, MarkupSafe, jinja2, multidict, yarl, aiohttp, voluptuous-serialize, more-itertools, zipp, importlib-metadata, bcrypt, homeassistant
Could not install packages due to an EnvironmentError: [Errno 13] Permesso negato: '/srv/homeassistant/lib/python3.7/site-packages/text_unidecode-1.3.dist-info'
Consider using the `--user` option or check the permissions.
What to do now?
EDIT: used sudo also for installing homeassistant, it loaded all dependencies and at the end i got.
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-11-13 16:04:14 CET; 29s ago
Process: 7333 ExecStart=/srv/homeassistant/bin/hass (code=exited, status=203/EXEC)
Main PID: 7333 (code=exited, status=203/EXEC)
nov 13 16:04:14 hassbian systemd[1]: Started Home Assistant.
nov 13 16:04:14 hassbian systemd[7333]: [email protected]: Failed to execute command: No such file or directory
nov 13 16:04:14 hassbian systemd[7333]: [email protected]: Failed at step EXEC spawning /srv/homeassistant/bin/hass: No such file or directory
nov 13 16:04:14 hassbian systemd[1]: [email protected]: Main process exited, code=exited, status=203/EXEC
nov 13 16:04:14 hassbian systemd[1]: [email protected]: Failed with result 'exit-code'.
I am completely out right now… What to do?