uclatommy/tweetfeels

Issue with setup

Closed this issue · 5 comments

screen shot 2018-11-09 at 19 10 29

What am I doing wrong here?

Have installed and updated all required packages per the readme file.

Python 3.7.1
macOS high sierra 10.13.1

This is a problem with tweepy on python 3.7. You can find more details about it here: tweepy/tweepy#1017. This won't get fixed until tweepy pushes out a new version that works with python 3.7.

I decided to change the requirements to peg tweepy to their latest master copy instead of waiting for them to release since they already had a fix in but haven't released for a year. I'll package a release soon, but for now, you can fix your issue by:

pip uninstall tweepy
pip install -U git+https://github.com/tweepy/tweepy.git@2efe385fc69385b57733f747ee62e6be12a1338b

Thanks for the info, I tried your fix and it took care of some of the issues! Through just doing what you said above this is what happened:

screen shot 2018-11-10 at 18 10 21

Then I found 'tweetfeels.py' and modified line 158 from 'async=True' -> 'async_=True' which some recommended in the issue you referenced. That seemed to help:

screen shot 2018-11-10 at 18 16 02

Then I added the line 'trump_feels.start(10)'. Got an issue with 'async_':
screen shot 2018-11-10 at 18 11 45

When I revert the change with 'async_', I get the first error messages again:
screen shot 2018-11-10 at 18 09 27

Do you see the issue here? Would it be easier to use something like pyenv and use python 3.6.0 for running this project?

This did it! Thanks for helping out. Time to have fun