Open pho2Github opened 1 year ago
The problem lays in the python version. In the library you can see that the author is using f-string which are introduced in python 3.6 and on stack trace you see rpi uses python 3.5. So you have a couple of alternatives - either fork the repo and change from f"http:\\{self.ipAddress}\app?token={self.token}"
string into "http:\\{}\app?token={}".format(self.ipAddress, self.token)
and in other places as well if you can only use 3.5 or upgrade python version or just copy the request calls to your own python and work from there.
TapoP100 works fine on my windows PC using spyder. Installing the package on my raspberry TapoP100 was only successful using "pip3" / "python3". Trying to use TapoP100 then leads to the following error message:
I also tried to see what happens if I could fix this error (without realy fixing it). I then run into the next error:
Any hind how to resolve this?