Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Missing requirement in README, later error in fauxmo line 67 #7

Open
protogilly opened this issue Jul 14, 2017 · 3 comments
Open

Missing requirement in README, later error in fauxmo line 67 #7

protogilly opened this issue Jul 14, 2017 · 3 comments

Comments

@protogilly
Copy link

protogilly commented Jul 14, 2017

Platform: Windows 10
Python version 2.7.13

It should be noted in the readme that you should pip install requests as a requirement.

Also, when running in windows, I get the following error when trying to run the script:

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

This is caused because poll is not properly implemented in the Windows or MacOS versions of python. The newest version of fauxmo fixes this problem.

@efpe
Copy link
Owner

efpe commented Jul 26, 2017

Poll is not available on Windows. You need either Linux or OS X to use this right now. I don't know about newer version, will try to take a look.

Maybe we can use the pypi package: https://pypi.python.org/pypi/fauxmo

@akhan23wgu
Copy link

@efpe have you tried looking into the pypi package? If not, I might get a chance later next week to try it out.

@efpe
Copy link
Owner

efpe commented Oct 5, 2017

hi, sorry not yet. I'm behind with everything but will try to catch up soon. sorry guys

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants