Troubleshooting Home Assistant Installation on Raspberry Pi

Hello everyone, I’m trying to set up Home Assistant on my Raspberry Pi using the Al in one Raspi Installer, but I’m running into some issues. I’ve followed the installation steps carefully, but I keep getting an error related to the ‘cryptography’ package and ‘libffi’. Here’s what’s happening:

After running the installation script, I encounter the following error:

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

The error message points to an issue with the ‘libffi’ package not being found. I tried installing ‘libffi’ using sudo apt-get install libffi-dev, but the problem persists. I’m not sure why the system isn’t recognizing ‘libffi’ even after installation.

I’m using a fresh installation of Raspbian Jessie, and I’m wondering if there are any specific steps I’m missing or if there’s a different way to resolve this dependency issue. Has anyone else encountered this problem while setting up Home Assistant? Any advice or suggestions would be greatly appreciated!

Thanks in advance for your help!