efpe / amazon-alexa-lg-tv

Control your LG TV (webOS 3) with Amazon Alexa
71 stars 45 forks source link

Problem running alexa-tv.py #3

Closed ElDoctero closed 7 years ago

ElDoctero commented 7 years ago

Everything else works fine, set my TV's mac address, however when I run the final command

C:\Projects\lgtv>python alexa-tv.py Traceback (most recent call last): File "alexa-tv.py", line 47, in p = fauxmo.poller() File "C:\Projects\lgtv\fauxmo.py", line 67, in init self.poller = select.poll() AttributeError: 'module' object has no attribute 'poll'

I get that error. Not a python guy, so any help would be appreciated.

efpe commented 7 years ago

That because poll is not supported on non-unix based machines.

https://docs.python.org/2/library/select.html#poll-objects