I am unable to run selenium on Jupyter notebook, where Anaconda is my python distribution platform. However, I am able to run selenium using the Python IDLE Shell 3.9.1 and use the Chromedriver in this shell.
This is what shows in jupyter notebook:
! pip3 install selenium
Requirement already satisfied: selenium in /usr/local/lib/python3.9/site-packages (3.141.0)
Requirement already satisfied: urllib3 in /usr/local/lib/python3.9/site-packages (from selenium) (1.26.4)
Then when I execute this command, I received an error that selenium is not a module.
from selenium import webdriver
ModuleNotFoundError Traceback (most recent call last)
1 import time
----> 2 from selenium import webdriver
ModuleNotFoundError: No module named ‘selenium’
Please assit and thank you.