I have installed hassbian and the first thing I get when I start upp HA is this error.
2017-07-18 09:09:46 ERROR (Thread-4) [homeassistant.util.package] Unable to install package pyatv==0.3.2: Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-66hbnho1/cffi/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-j6m653bp-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.4/cffi --home=/tmp/tmp2bilmt78" failed with error code 1 in /tmp/pip-build-66hbnho1/cffi/
I have tried upgrading rPi
$ sudo apt-get update
$ sudo apt-get -y upgrade
and also upgrade HASS
$ sudo systemctl stop [email protected]
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ exit
$ sudo systemctl start [email protected]
I have not done anything to the config yet. Any one know what have gone wrong?