Al in one Raspi Installer broke

Hi Guys

I am trying to set up home assistant on the raspberry pi. I must say this is a bit more complicated then what I expected it to be.

I have been trying a number of different ways, and none is really getting me to a point where it is working. I decided to restart with a fresh installation

install 2016-09-23-raspbian-jessie.img

passwd

sudo apt-get update
sudo apt-get upgrade

sudo raspi-config
expand file system
set time
reboot

wget -Nnv https://raw.githubusercontent.com/home-assistant/fabric-home-assistant/master/hass_rpi_installer.sh && bash hass_rpi_installer.sh

and now I am getting

File “/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py”, line 1066, in run_setup
raise DistutilsError(“Setup script exited with %s” % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1
Complete output from command /usr/bin/python -c “import setuptools, tokenize;file=’/tmp/pip-build-2g6WsW/cryptography/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-0Xo7r4-record/install-record.txt --single-version-externally-managed --compile:
Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc’

to the PKG_CONFIG_PATH environment variable

No package ‘libffi’ found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc’

to the PKG_CONFIG_PATH environment variable

No package ‘libffi’ found

Package libffi was not found in the pkg-config search path.

Perhaps you should add the directory containing `libffi.pc’