-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name ReadTimeout #13
Comments
sudo pip install --upgrade requests |
I'd tried that but the error still occurred. I was able to fix it with the following, which wraps the exceptions and converts it to a string so that it can be concatenated.
|
check your credentials On Thu, Apr 21, 2016 at 2:33 PM, thermike notifications@github.com wrote:
|
My credentials are definitely correct. I've tested them with the vanilla API Auth test script provided through the TwitterAPI suite and I don't get any errors. However I get errors with this script, saying creds might be wrong, but if I make the proposed change, then the error is raised but the script continues to run and I see Tweets added to the queue and get retweeted. |
What os are you running? If you don't mind please run these commands
sudo pip3 install --upgrade requests hope it works now! |
I made a mistake on the last line. It should be sudo python3 main.py On Thu, Apr 21, 2016 at 5:23 PM, Greg McSwagger gregmcswagger@gmail.com
|
Bit of a newb when it comes to Python and can't seem to fix the following error.
Any ideas why I'm unable to run
python main.py
?The text was updated successfully, but these errors were encountered: