supervisor: dlib components not functioning in hassio, missing libraries
Adding any of the dlib components will generate these messages in the logsā¦
2017-11-06 11:05:02 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package face_recognition==1.0.0: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zp1cukr2/scipy/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-ldhmq9da-record/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-zp1cukr2/scipy/
2017-11-06 11:05:02 ERROR (MainThread) [homeassistant.setup] Not initializing image_processing.dlib_face_detect because could not install dependency face_recognition==1.0.0
2017-11-06 11:05:02 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform image_processing.dlib_face_detect: Could not install all requirements.
I tracked it down to dlib needing to compile native components to install, after adding packages needed to install (apk add build-base gcc cmake python3-dev boost-dev
) I was able to get face_recognition==1.0.0 to install correctly. I understand that these packages would blow up the image size quite a bit, so is it possiable to load pre-compiled versions of the libs into the image without the dev packages?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (3 by maintainers)
I am still having the same issue, on HASS.IO I assume the steps detailed above were performed on hassbian and not hassio. Any tips or help would be appreciated.