ModuleNotFoundError: No module named'selenium

Question:
Hi, I would like to use Selenium within Replit but I am receiving an error that the module of selenium is not found. I have added the package from the UI, installed through pip; but none seem to work.

Repl link:

from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By

Replit Link: https://replit.com/@Dmckeon/ClumsyHatefulAmoebas

Hi @Dmckeon , welcome to the forums!
Can you try entering poetry add selenium into the Shell?
Thanks!

1 Like