Hi,
I did a fresh install of HAS on my RasPi 3 that was running OSMC, followed the instructions for manual installation and installed it in a virtual environment. After HAS runs, i see the following errors in the log:
2017-07-14 18:16:01 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds. 2017-07-14 18:16:12 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds. 2017-07-14 18:16:13 ERROR (Thread-8) [homeassistant.util.package] Unable to install package netdisco==1.0.1: Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-whenabzn/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-jq_uwrmp-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.4/netifaces --home=/tmp/tmps2oe9xry" failed with error code 1 in /tmp/pip-build-whenabzn/netifaces/ 2017-07-14 18:16:13 ERROR (MainThread) [homeassistant.setup] Not initializing discovery because could not install dependency netdisco==1.0.1 2017-07-14 18:16:13 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery: Could not install all requirements. 2017-07-14 18:16:30 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
I tried installing the netdisco dependency from the virtual environment, but then get the following error:
pip install netdisco==1.0.1 Collecting netdisco==1.0.1 Using cached netdisco-1.0.1-py2.py3-none-any.whl Requirement already satisfied: requests>=2.0 in ./lib/python3.4/site-packages (from netdisco==1.0.1) Collecting zeroconf==0.19 (from netdisco==1.0.1) Using cached zeroconf-0.19.0-py2.py3-none-any.whl Requirement already satisfied: six in ./lib/python3.4/site-packages (from zeroconf==0.19->netdisco==1.0.1) Requirement already satisfied: enum-compat in ./lib/python3.4/site-packages (from zeroconf==0.19->netdisco==1.0.1) Collecting netifaces<=0.10.4 (from zeroconf==0.19->netdisco==1.0.1) Using cached netifaces-0.10.4.tar.gz Installing collected packages: netifaces, zeroconf, netdisco Running setup.py install for netifaces ... error Complete output from command /srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-32vh52so/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-0rpv21tk-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.4/netifaces: running install running build running build_ext checking for getifaddrs...not found. checking for getnameinfo...not found. checking for socket IOCTLs...not found. checking for optional header files...none found. checking whether struct sockaddr has a length field...no. checking which sockaddr_xxx structs are defined...none! checking for routing socket support...no. checking for sysctl(CTL_NET...) support...no. checking for netlink support...no. building 'netifaces' extension arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DNETIFACES_VERSION=0.10.4 -I/srv/homeassistant/include -I/usr/include/python3.4m -c netifaces.c -o build/temp.linux-armv7l-3.4/netifaces.o unable to execute 'arm-linux-gnueabihf-gcc': No such file or directory error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-32vh52so/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-0rpv21tk-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.4/netifaces" failed with error code 1 in /tmp/pip-build-32vh52so/netifaces/
Any suggestions? I followed the instructions and used the @osmc user to add HAS as a service to systemd