I am encountering the error shown below when trying to execute the driver_initialization.py file. I have tried installing both selenium and seleniumwire using pip:
!pip install seleniumwire
!pip install selenium
But I am still unable to resolve this error
import Facebook_scraper class from facebook_page_scraper
----> 2 from facebook_page_scraper import Facebook_scraper
3
4 #instantiate the Facebook_scraper class
5
1 frames
/content/facebook_page_scraper/facebook_page_scraper/driver_initialization.py in
1 #!/usr/bin/env python3
2
----> 3 from seleniumwire import webdriver
4 # to add capabilities for chrome and firefox, import their Options with different aliases
5 from selenium.webdriver.chrome.options import Options as ChromeOptions
ModuleNotFoundError: No module named 'seleniumwire'
I am encountering the error shown below when trying to execute the driver_initialization.py file. I have tried installing both selenium and seleniumwire using pip:
!pip install seleniumwire !pip install selenium
But I am still unable to resolve this error
import Facebook_scraper class from facebook_page_scraper
----> 2 from facebook_page_scraper import Facebook_scraper 3 4 #instantiate the Facebook_scraper class 5
1 frames
/content/facebook_page_scraper/facebook_page_scraper/driver_initialization.py in
1 #!/usr/bin/env python3
2
----> 3 from seleniumwire import webdriver
4 # to add capabilities for chrome and firefox, import their Options with different aliases
5 from selenium.webdriver.chrome.options import Options as ChromeOptions
ModuleNotFoundError: No module named 'seleniumwire'