homeassistantchina / custom_components

non-official HASS components.
45 stars 16 forks source link

no luck newbie at home assistant #2

Open peterkexas opened 7 years ago

peterkexas commented 7 years ago

2017-08-29 22:15:18 ERROR (Thread-7) [homeassistant.util.package] Unable to install package python-miio==0.0.8: Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-lee1z2zz/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-hy8jzexv-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.4/cffi" failed with error code 1 in /tmp/pip-build-lee1z2zz/cffi/ 2017-08-29 22:15:18 ERROR (MainThread) [homeassistant.setup] Not initializing switch.chuangmi_ir because could not install dependency python-miio==0.0.8 2017-08-29 22:15:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.chuangmi_ir: Could not install all requirements.

my rpi has hassbian updated 0.52.1 please help!!

syssi commented 7 years ago

There is a dependency missing. sudo apt-get install libffi-dev will solve the issue.

peterkexas commented 7 years ago

I did it but nothing again