ohyou / twitch-viewer

A viewer bot for twitch.tv
Apache License 2.0
197 stars 103 forks source link

How can i fix this? #32

Closed danielenicoletti closed 7 years ago

danielenicoletti commented 7 years ago

image How can i fix?

grishzakyan commented 7 years ago

pip install livestreamer

btx78000 commented 7 years ago

same problem here C:\Users\Admin\twitch-viewer-bot\twitch-viewer>python twitch-viewer.py esl_ptiwiki Obtaining the channel... Obtained the channel Preparing the processes... An error has occurred while trying to use livestreamer package. Is it installed? Do you have Python in your PATH variable? Traceback (most recent call last): File "twitch-viewer.py", line 115, in prepare_processes() File "twitch-viewer.py", line 103, in prepare_processes "url": get_url(), "proxy": { File "twitch-viewer.py", line 67, in get_url url = json.loads(response)['streams']['worst']['url'] UnboundLocalError: local variable 'response' referenced before assignment C:\Users\Admin\twitch-viewer-bot\twitch-viewer>python -m pip install livestreamer Requirement already satisfied: livestreamer in c:\users\Admin\twitch-viewer-bot\twitch-viewer Requirement already satisfied: futures in c:\python27\lib\site-packages (from livestreamer) Requirement already satisfied: singledispatch in c:\python27\lib\site-packages (from livestreamer) Requirement already satisfied: requests<3.0,>=1.0 in c:\python27\lib\site-packages (from livestreamer) Requirement already satisfied: six in c:\python27\lib\site-packages (from singledispatch->livestreamer)

C:\Users\Admin\twitch-viewer-bot\twitch-viewer>

danielenicoletti commented 7 years ago

I fixed by coping and pasting livestreamer dll and exe in the folder

ghost commented 7 years ago

where did you find livestreamer dll and exe ? :|

ohyou commented 7 years ago

I'm closing this issue because the project is currently not maintained and it will unlikely to be resolved.
For more, please read this: https://github.com/ohyou/twitch-viewer/blob/master/README.md#project-state