DEV Community

Discussion on: Sentiment analysis on Trump's tweets using Python 🐍

Collapse
 
btuoolh profile image
oooo

when I run the code, see that

ImportError Traceback (most recent call last)
in ()
1 # We import our access keys:
----> 2 from credentials import * # This will allow us to use the keys as variables
3
4 # API's setup:
5 def twitter_setup():

ImportError: No module named credentials

can you help me to know what is the problem?

Collapse
 
rodolfoferro profile image
Rodolfo Ferro

You need to create a credentials.py file with your tokens.
All description is in the post.