Cannot integrate ikea tradfri on HA core

I tried to integrate the ikea gateway (Ver 1.10.30) via the configuration.yaml, but when i test the config it tries and fail to install pytradfri with this error:

‘Testing configuration at /home/matteo/.homeassistant
INFO:homeassistant.util.package:Attempting install of pytradfri[async]==6.4.0
ERROR:homeassistant.util.package:Unable to install package pytradfri[async]==6.4.0: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file=’/tmp/pip-build-uqej96d2/DTLSSocket/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-elwccf9a-record/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-uqej96d2/DTLSSocket/
Failed config
General Errors:
- Component error: tradfri - Requirements for tradfri not found: [‘pytradfri[async]==6.4.0’].’

Anyone can help?

Did you find a solution to this please? Seem to be hitting the same thing.

For anyone else who hits this, on Mac the fix for me was to install autoconf with brew rather that pip: brew install autoconf

And:

python3 -m pip install pytradfri[async]==7.0.4