Closed swejmansson closed 2 years ago
Thanks for inform about this. In the Beta I have added Websockets to requirements.txt but good that this issue exist if someone else have same problem, until Beta is Main. I will leave this open until I set Beta as Main.
sudo pip3 install gql[websockets]
Do you know if that is that different than sudo pip3 install websockets
?
No, not really. I found it in the doc for gql. Looked through my terminal now and found the first time i tried to install websockets I was using "pip" and nor "pip3". Then it didnt work..... For med Linux is alot google, trial and error ๐
This was the sequence to get it working:
I am just a amateur but what I see is with [ ] it will get the requirements from gql "<10,>=9" means less then 10 but higher or equal to 9. I will update my requirements.txt with "websockets<10,>=9"
That will most likely do the trick ๐
Had some issues to get the plugin up and running. Iยดm running on Pi3, Buster, python 3.7 and Domoticz 2020.1. Followed the instructions and gql was installed, but websockets was missing. Had to install it manually....
sudo pip3 install gql[websockets]
Now its fine ๐