Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8148533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:39:53+00:00 2026-06-06T14:39:53+00:00

Setup OSX 10.7.4, Eclipse, Pydev, Python 2.7, Tweepy-1.9 Hey, I was originally trying to

  • 0

Setup OSX 10.7.4, Eclipse, Pydev, Python 2.7, Tweepy-1.9

Hey, I was originally trying to grab tweets from the twitter API but kept getting the same error as below. This program is designed to print the twitter API rate limit to make sure I am not gone over.

I keep getting this error but there is very little info online about it.

Any help is appreciated.

The Code

import tweepy
auth = tweepy.OAuthHandler(Consumer Key, Consumer Secret)
auth.set_access_token(Access token,Access token secret)
api = tweepy.API(auth)

print api.rate_limit_status()
#print tweepy.api.rate_limit_status()

The Error

Traceback (most recent call last):
  File "/Users/brendan/Documents/workspace/Euro2012/src/rate_limit.py", line 7, in <module>
    print api.rate_limit_status()
  File "build/bdist.macosx-10.5-fat3/egg/tweepy/binder.py", line 185, in _call
  File "build/bdist.macosx-10.5-fat3/egg/tweepy/binder.py", line 149, in execute
tweepy.error.TweepError: Failed to send request: [Errno 61] Connection refused

EDIT: I have no confirmation on this as yet but I suspect the problem is with proxy settings

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:39:54+00:00Added an answer on June 6, 2026 at 2:39 pm

    For some reason, tweepy uses the low-level httplib instead of the high-level urllib2. httplib does not use HTTP proxies; it is used by other modules to implement HTTP proxy support.

    Either get an internet connection that allows direct connections without proxy configuration, or modify tweepy to use urllib2, or use another library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Setup OSX 10.7.4 Eclipse Indigo, Pydev, Tweepy-1.9 I thought this should be relatively simple
I am trying to build a python module (scikit.timeseries) using python setup.py build but
Setup Mac OSX 10.6.7, Eclipse, Tomcat 1.6 I am trying to call a string
I'm trying to download Eclipse IDE for Android development. I've downloaded the setup but
Trying to get my feet wet with PySide development but having trouble getting setup.
Setup Mac OSX 10.6.8, Apache Tomcat 6.0.16, Java1.6.0_29, Eclipse IDE Indigo. I asked a
I've got MAMP running (XAMP for OSX), and I'm trying to setup subversion. When
Setup iMac OSX 10.7.4, Hi there, I am trying to install Homebrew on my
I am switching from Linux to OSX and when I run our build's setup.py
I installed pynum and scipy (on osx Lion with python 2.7), but when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.