I get this error message when I try from tweepy import stream
ImportError: cannot import name stream
knowing that I installed tweepy on my python
Though it would really help to see your code, it looks like you're using the line
from tweepy import stream
correct?
When I look at the tweepy tests, it looks like Stream should be capitalized. Check out this page for an example:
https://github.com/tweepy/tweepy/blob/master/examples/streaming.py
When importing in Python (and with all things in Python) case matters. So try changing the line to
from tweepy import Stream
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句