akhan23wgu / amazon-alexa-lg-tv

⛔️ DEPRECATED Control your LG TV (webOS 2.0+) with Amazon Alexa
57 stars 21 forks source link

Error on auth with ws4py #18

Open will2383 opened 6 years ago

will2383 commented 6 years ago

Hi there,

When running 'python lgtv.py auth ipaddress' I get back the following:

Traceback (most recent call last):
 File "lgtv.py", line 2, in <module>
  from ws4py.client.threadedclient import WebSocketClient
ImportError: No module named ws4py.client.threadedclient

I have Python 2.7.9 installed on a Raspberry Pi 3 B+. ws4py and wakeonlan are both installed (from requirements.txt). I've also pip install'ed requests, as I saw in another issue. Not sure what's going on here. I can ping the TV and go to its IP for the 'Hello World' message -- it does have the remote function enabled. Any advice? Really looking forward to getting this working!

will2383 commented 6 years ago

I notice that efpe's original project that you forked from requires npm install lgtv -g in his instructions but that's missing from yours. Is that a necessary step?

will2383 commented 5 years ago

Any advice?