covid19_twitter icon indicating copy to clipboard operation
covid19_twitter copied to clipboard

Hydrating Tweets tutorial

Open frogger opened this issue 1 year ago • 0 comments

Hi,

Thank you for sharing this dataset. I am trying to use it for my maters dissertation.

I am just trying to work through the usage tutorial and am stuck at:

!python3 get_metadata.py -i clean-dataset-filtered.tsv -o hydrated_tweets -k api_keys.json

I get the error:

ImportError: cannot import name 'TweepError' from 'tweepy'

Following a search I gleaned that TweepError has been replaced by TweepyException in the current version. I have tried that but still no luck. Do I need to be using a specific Tweepy version?

EDIT: I have tried to make changes to the get_metadata.py file and I get output files with headings but they're empty

Thanks!

frogger avatar Mar 27 '23 18:03 frogger