[0.51.2] Error FRITZ!Box presence dection

Hello,
it worked when I first installed it at HA 0.47 or 0.48 or something like this but since an update it doenst work anymore some time already.

Log:
2017-08-14 17:38:00 ERROR (Thread-9) [homeassistant.util.package] Unable to install package fritzconnection==0.6.3: Exception: Traceback (most recent call last): File “/srv/homeassistant/homeassistant_venv/lib/python3.4/shutil.py”, line 522, in move os.rename(src, real_dst) PermissionError: [Errno 13] Permission denied: ‘/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/lxml-3.7.3.dist-info/DESCRIPTION.rst’ -> ‘/tmp/pip-5i_qafwy-uninstall/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/lxml-3.7.3.dist-info/DESCRIPTION.rst’

2017-08-14 17:38:09 ERROR (MainThread) [homeassistant.setup] Not initializing device_tracker.fritz because could not install dependency fritzconnection==0.6.3 2017-08-14 17:38:09 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform device_tracker.fritz: Could not install all requirements.

I install everything what I should (https://home-assistant.io/components/device_tracker.fritz/) and reinstall it again but doenst help…

Anybody can help me?

Looks like HA is not running with the proper rights to install lxml. Solving this can be tedious depending on your system knowledge. But it seems your are using a virtual environment. That’s a good idea and I would recommend to use conda for that (google miniconda). Then installing lmxl gets really easy.