Closed lucianofara closed 6 years ago
What version of python are you running? "Python -v" to find out.
On Sep 10, 2017 4:40 PM, "lucianofara" notifications@github.com wrote:
When I run: python alexa-tv.py
Error: Traceback (most recent call last): File "alexa-tv.py", line 67, in p = fauxmo.poller() File "fauxmo.py", line 67, in init self.poller = select.poll() AttributeError: module 'select' has no attribute 'poll'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/akhan23wgu/amazon-alexa-lg-tv/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/APdw42nKan9I1Jh260AJsdNhg1LABbm3ks5shGVMgaJpZM4PSetz .
I am having the same issue actually. I have a fresh install of version 2.7.13 on the machine.
I tried the version 2.7.13 and 3.6.2 on win10
@jvance325 are you running on Windows as well?
Poll isn't available in Windows. You will need to use Linux or OS X. @efpe suggested to use using the latest Fauxmo from Pypi. https://pypi.python.org/pypi/fauxmo See: https://github.com/efpe/amazon-alexa-lg-tv/issues/7
On OSX i had the same error because my python version was without poll: See https://github.com/google/pyringe/issues/14#issuecomment-57856541
brew reinstall python --with-poll
should fix it.
Not sure if this helps people but.....You can just fire these Commands manually from command line in Windows. For example, the command below will Turn on the TV.
python LGTV.py On
No update from op - closing.
When I run: python alexa-tv.py
Error: Traceback (most recent call last): File "alexa-tv.py", line 67, in
p = fauxmo.poller()
File "fauxmo.py", line 67, in init
self.poller = select.poll()
AttributeError: module 'select' has no attribute 'poll'