facebook_page_scraper icon indicating copy to clipboard operation
facebook_page_scraper copied to clipboard

ModuleNotFoundError: No module named 'facebook_page_scraper'

Open sadlyrookie opened this issue 1 year ago • 2 comments

I am a rookie to python, I installed "pip3 install facebook-page-scraper" in my terminal(MacBook). But the following code like this. Is there any solution, thanks.


ModuleNotFoundError Traceback (most recent call last) Cell In[4], line 2 1 #import Facebook_scraper class from facebook_page_scraper ----> 2 from facebook_page_scraper import Facebook_scraper 4 #instantiate the Facebook_scraper class 6 page_name = "metaai"

ModuleNotFoundError: No module named 'facebook_page_scraper'

sadlyrookie avatar Jul 15 '23 03:07 sadlyrookie

So, you installed it using a terminal and tried to import the library in Jupyter Notebook?

shaikhsajid1111 avatar Aug 05 '23 13:08 shaikhsajid1111

just do this in your notebook before importing module @sadlyrookie !pip3 install facebook-page-scraper

Neelesh2512 avatar Mar 20 '24 19:03 Neelesh2512