Skip to content
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

Hydrating Tweets tutorial #23

Open
frogger opened this issue Mar 27, 2023 · 0 comments
Open

Hydrating Tweets tutorial #23

frogger opened this issue Mar 27, 2023 · 0 comments

Comments

@frogger
Copy link

frogger commented Mar 27, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant