Skip to content

Error: cannot import name 'Stream' ? #1408

Discussion options

You must be logged in to vote

First of all, you'll want to regenerate your credentials now.

If this file you're editing is named tweepy.py and in your system path, it's recursively importing itself rather than the Tweepy library.
Otherwise, another file in your system path is named tweepy.py and recursively importing itself after it's imported on the first line.
You'll want to change your filename(s) or remove them from your system path so that they're not imported prior to Tweepy itself.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Harmon758
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question This is a question Discussion This was converted/moved from/to a discussion
2 participants
Converted from issue

This discussion was converted from issue #1408 on December 15, 2020 19:16.