suborb / philips_android_tv

Tools to control Philips 2016 Android TVs
GNU General Public License v2.0
121 stars 61 forks source link

script not working with 55PUS7181/12 #19

Open Aitchk4n opened 5 years ago

Aitchk4n commented 5 years ago

I run a homebridge on a pi 3 and have a 55 PUS from 2016...

when I m running the python script from Mac terminal I got always following error msg :

XXXX-MBP:TV XXX$ python philips.py --host 192.xxxx pair Traceback (most recent call last): File "philips.py", line 6, in

XXXX-MBP:TV XXX$ python philips.py --host 192.xxxx pair Traceback (most recent call last): File "philips.py", line 8, in from Crypto.Hash import SHA, HMAC ImportError: No module named Crypto.Hash

Can someone help out? It would be so great to get this login details...some how:)

thx

Aitchk4n commented 5 years ago

solved it using on raspberry following commands upfront:

sudo apt-get install python-crypto sudo apt-get install python-requests

afterwards the script worked fine.

JeffersonBe commented 4 years ago

I also solve this issue by running the following command:

pip3 install -r requirements.txt