ModuleNotFoundError: No module named 'selenium'

Hello people! I am doing work 8-11 on selenium and when I run this it gives me the following error.


I anticipate already installed pip install selenium and created the virtual environment pipenv install selenium.

Best guess without more information: you are using Python 3, but installed selenium for Python 2 (in which case either use Python 2 or also install selenium for Python 3)? Check some of the answers here at Stack Overflow which is a common place to check for answers to questions like this about programming.

My guess is that maybe you have already installed the selenium library correctly in your system but you didn’t choose the right environment to execute the script. please check the right bottom corner to verify the python virtual environment.