Home > Net >  Import of twitterscraper returns 'NonType' error
Import of twitterscraper returns 'NonType' error

Time:11-25

I installed twitterscraper and then run this

from twitterscraper import query_tweets
import daterime as dt
import pandas as pd

but it turns out

AttributeError: 'NoneType' object has no attribute 'find_all'

plz help me out!

CodePudding user response:

You might have the wrong version of twitterscraper. Do this

pip install twitterscraper==0.2.7

In jupyter

!pip install twitterscraper==0.2.7
  • Related