ModuleNotFoundError:

34 views
Skip to first unread message

Danish Masood

unread,
Oct 1, 2020, 11:53:14 PM10/1/20
to spyder
I have installed python, twitterscraper and spyder to scrape data but whenever I try to run this scripit 
(from twitterscraper.query import query_tweets 
import datetime as dt
import panda as pd

begin_date = dt.datetime(2010,1,1)
end_date = dt.datetime(2020,9,1)

limit = 5000
lang = 'urdu'
#user = arynewsud

tweets = query_tweets("پاکستان تحریک انصاف ", begindate = begin_date, enddate = end_date, limit = limit, lang = lang)
)it gives 

"No module named 'twitterscraper'"
can any onehelp ?

PLAA Hemantha

unread,
Oct 2, 2020, 4:11:12 AM10/2/20
to spyd...@googlegroups.com
I think that installing error of twitterscraper module. use  "pip install twitterscraper==0.2.7"

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/da8eded2-2bd8-4315-98e3-99f9ff4c2a4en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages