kbr / fritzconnection

Python-Tool to communicate with the AVM Fritz!Box by the TR-064 protocol and the AHA-HTTP-Interface
MIT License
304 stars 59 forks source link

Can't install on Raspberry 3b #70

Closed andreas-marti closed 3 years ago

andreas-marti commented 3 years ago

Hello, when I try to install fritzconnection on my raspberry, it crashes on "build wheel for xlml". It means, the device is freezed, every connection (ssl and so on) crashes too. Does anyone has the same proplems while installing? I was succesfull to install it on an ubuntu 20 (VM), but my goal is to let it run on my rasperry , because I have openHab running on it already. So I could use the TR64 commands directly from the openhab...any hint would be very appreciated...thanks in advance!

Andreas

kbr commented 3 years ago

lxml is a dependency for fritzconnection <= 0.8.5 and installation can be a bit tricky on a RasPi. For Python 3 and fritzconnection >= 1.0 the lxml dependency has been removed.

andreas-marti commented 3 years ago

thanks for your answer kbr! what does it mean to me? should I first install python 3.x on the raspberry, and then sudo pip3 install fritzconnection?

bufemc commented 3 years ago

I guess the author means you don't need the lxml dependency (at least for fritzconnection) if you install the latest one. I run it on a Raspberry Pi 4 on the standard OS (Raspi OS 32 bit) without any problems for my call blocker ( https://github.com/bufemc/a1fbox - btw, I stole the icons for the README ,-)) with the latest fritzconnection, maybe it helps if you do: pip install fritzconnection --upgrade - my requirements.txt says I use requests and fritzconnection>=1.3.3

kbr commented 3 years ago

I think this related to a Python 2 version, because of the mentioned lxml dependency. So I like to close this. Please feel free to reopen in case of need. However chances are low that I will support the 0.8.x branch any longer since end of 2019 Python 2 is EOL.