FRITZ!Box component install error on Windows 10 / Raspian / Ubuntu 16.04

running HA on Windows 10 for the moment will I build my Linux pc, get the following when HA tries to install the FRITZ!Box component.

log file has the following:
16-07-24 01:54:34 homeassistant.bootstrap: Not initializing device_tracker.fritz because could not install dependency https://github.com/deisi/fritzconnection/archive/b5c14515e1c8e2652b06b6316a7f3913df942841.zip#fritzconnection==0.4.6

the cmd window has the following:
INFO:homeassistant.loader:Loaded device_tracker.fritz from homeassistant.components.device_tracker.fritz
INFO:homeassistant.util.package:Attempting install of https://github.com/deisi/fritzconnection/archive/b5c14515e1c8e2652b06b6316a7f3913df942841.zip#fritzconnection==0.4.6
Command ““C:\Program Files\Python36\python.exe” -u -c “import setuptools, tokenize;file=‘C:\Users\drak\AppData\Local\Temp\pip-build-h1h4bktb\lxml\setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record C:\Users\drak\AppData\Local\Temp\pip-syp0llo7-record\install-record.txt --single-version-externally-managed --compile --home=C:\Users\drak\AppData\Local\Temp\tmpgq1_v66o” failed with error code 1 in C:\Users\drak\AppData\Local\Temp\pip-build-h1h4bktb\lxml
ERROR:homeassistant.bootstrap:Not initializing device_tracker.fritz because could not install dependency https://github.com/deisi/fritzconnection/archive/b5c14515e1c8e2652b06b6316a7f3913df942841.zip#fritzconnection==0.4.6
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=http>

anyone been able to get this to work ?
TIA

Have the same problem on my raspberry:

logfile:
Aug 11 11:53:30 raspberrypi hass[21289]: INFO:homeassistant.loader:Loaded device_tracker.fritz from homeassistant.components.device_tracker.fritz
Aug 11 11:53:30 raspberrypi hass[21289]: INFO:homeassistant.util.package:Attempting install of https://github.com/deisi/fritzconnection/archive/b5c14515e1c8e2652b06b6316a7f3913df942841.zip#fritzconnection==0.4.6
Aug 11 11:53:49 raspberrypi hass[21289]: Command “/srv/hass/hass_venv/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-sr8i6_hh/lxml/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-dj0uxf2m-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/hass/hass_venv/include/site/python3.4/lxml --home=/tmp/tmpdmcy1wa6” failed with error code 1 in /tmp/pip-build-sr8i6_hh/lxml/
Aug 11 11:53:49 raspberrypi hass[21289]: ERROR:homeassistant.bootstrap:Not initializing device_tracker.fritz because could not install dependency https://github.com/deisi/fritzconnection/archive/b5c14515e1c8e2652b06b6316a7f3913df942841.zip#fritzconnection==0.4.6

on my last installation everything works fine. had to reinstall everything because my scared was corrupted. i had a backup of my homeassistant configuration files, so there can’t be any config failures.

any hints ?
TIA: could you change to Topic and add Raspian to it

Sebastian

I have switched over to ubuntu 16.04 and still have the same issue, don’t really want to un install and start from scratch but may have to :frowning: the issue seems to be a dependence of the package, in my case I believe it’s lxml, trying to install lxml manually fails, will try a reinstall this weekend if I get the time :frowning:

Hi drak41

Finally found a solution:
sudo apt-get install libxml2-dev libxslt-dev

explanation from this site:

Sebastian

great will give that a try after the update, thx’s :slight_smile: