Closed Cremaxx closed 7 years ago
Try pip installing python-twitter rather than "pip install twitter"
On Jul 27, 2016 at 15:19 (x-apple-data-detectors://0), <Cremaxx (mailto:notifications@github.com)> wrote:
Traceback (most recent call last): File "bdb.py", line 1, in from twitch_chatters import search_all_games, remove_offline File "/home/twitchDetector/twitch_chatters.py", line 24, in import handle_twitter File "/home/twitchDetector/handle_twitter.py", line 27, in api = twitter.Api(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET) AttributeError: 'module' object has no attribute 'Api' root@ggba:/home/twitchDetector# python bdb.py Traceback (most recent call last): File "bdb.py", line 1, in from twitch_chatters import search_all_games, remove_offline File "/home/twitchDetector/twitch_chatters.py", line 24, in import handle_twitter File "/home/twitchDetector/handle_twitter.py", line 27, in api = twitter.Api(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET) AttributeError: 'module' object has no attribute 'Api'
Can you say me how to fix it
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/popcorncolonel/TwitchBotDetector/issues/7), or mute the thread (https://github.com/notifications/unsubscribe-auth/AFQXu0ACWgxc9cuDlNhoyDEF81Tqb9U-ks5qZ9legaJpZM4JWr7G).
root@ggba:/home/twitchDetector# pip installing python-twitter
Traceback (most recent call last):
File "/usr/local/bin/pip", line 7, in
this happens
"pip install python-twitter". If you still keep getting the same error, try googling that error message. You might have to update/reinstall pip.
On Jul 27, 2016 at 15:21, <Cremaxx (mailto:notifications@github.com)> wrote:
root@ggba:/home/twitchDetector# pip installing python-twitter Traceback (most recent call last): File "/usr/local/bin/pip", line 7, in from pip import main File "/usr/lib/python2.7/dist-packages/pip/init.py", line 74, in from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in from pip.download import path_to_url File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in from requests.compat import IncompleteRead ImportError: cannot import name IncompleteRead root@ggba:/home/twitchDetector#
this happens
— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/popcorncolonel/TwitchBotDetector/issues/7#issuecomment-235739676), or mute the thread (https://github.com/notifications/unsubscribe-auth/AFQXu1xFAbujCvrfTz1norl2CHUIfGSOks5qZ9nigaJpZM4JWr7G).
okay
okay i fixed it BUT the python script is slower on my vps on my pc is it faster? (my vps has better connection)
okay on a Virtual Private server is the Script VEEEEEERY SLOW o.O
Hosted by NFOrce Entertainment B.V. (Amsterdam) [1.75 km]: 49.738 ms Testing download speed........................................ Download: 485.48 Mbit/s Testing upload speed.................................................. Upload: 50.44 Mbit/s
is this script only fast on Windows not linux?
I've run it on Windows, Mac, and Linux, and the performance has been equal on all. The issue is elsewhere. It's currently running on my Linux server, which hasn't had any issues.
On Jul 27, 2016 at 15:48, <Cremaxx (mailto:notifications@github.com)> wrote:
is this script only fast on Windows not linux?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/popcorncolonel/TwitchBotDetector/issues/7#issuecomment-235745203), or mute the thread (https://github.com/notifications/unsubscribe-auth/AFQXu-jnxYKxmgptSJIL_aKSBC1pw1B3ks5qZ-AogaJpZM4JWr7G).
and you dont know what the problem ist? :D
is*
Nope :) something on your end
On Jul 27, 2016 at 15:54 (x-apple-data-detectors://0), <Cremaxx (mailto:notifications@github.com)> wrote:
and you dont know what the problem ist? :D
— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/popcorncolonel/TwitchBotDetector/issues/7#issuecomment-235746430), or mute the thread (https://github.com/notifications/unsubscribe-auth/AFQXu3fQGLjgliqoGIJ64AEv-olxbRpDks5qZ-GpgaJpZM4JWr7G).
root@ggba:/home/twitchDetector# clear root@ggba:/home/twitchDetector# python bdb.py Traceback (most recent call last): File "bdb.py", line 1, in
from twitch_chatters import search_all_games, remove_offline
File "/home/twitchDetector/twitch_chatters.py", line 24, in
import handle_twitter
File "/home/twitchDetector/handle_twitter.py", line 27, in
api = twitter.Api(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
AttributeError: 'module' object has no attribute 'Api'
root@ggba:/home/twitchDetector#
, OAUTH_TOKEN_SECRET) AttributeError: 'module' object has no attribute 'Api'
Can you say me how to fix it