While forming the twitter connection, there is an import error of StreamListener. Although the code is same.
This is the error:
cannot import name 'StreamListener' from 'tweepy.streaming' (/local_disk0/.ephemeral_nfs/envs/pythonEnv-d91ce06f-2724-4270-a14b-f268b31bcae9/lib/python3.8/site-packages/tweepy/streaming.py)
While forming the twitter connection, there is an import error of StreamListener. Although the code is same. This is the error:
cannot import name 'StreamListener' from 'tweepy.streaming' (/local_disk0/.ephemeral_nfs/envs/pythonEnv-d91ce06f-2724-4270-a14b-f268b31bcae9/lib/python3.8/site-packages/tweepy/streaming.py)