Error installing on MacOS, can't install HAP-python

So, I’ve just installed on MacOS following the instructions from the link below, and I’m getting an error trying to start the HomeKit component - “Component error: homekit - Requirements for homekit not found: [‘HAP-python==2.5.0’].” But when I try to install with " pip install HAP-python==2.5.0" I get an error " error: command ‘gcc’ failed with exit status 1"


Is gcc installed? What happens when gcc --version from command line?

Might be a bit late for you but I’ve only just started playing with this.

I got it to work by running ‘xcode-select install’ on my Mac and then installing command line tools.