shaikhsajid1111 / facebook_page_scraper

Scrapes facebook's pages front end with no limitations & provides a feature to turn data into structured JSON or CSV
https://pypi.org/project/facebook-page-scraper/
MIT License
209 stars 62 forks source link

ModuleNotFoundError: No module named 'facebook_page_scraper' #79

Open sadlyrookie opened 11 months ago

sadlyrookie commented 11 months ago

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'

shaikhsajid1111 commented 11 months ago

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

Neelesh2512 commented 3 months ago

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