I am new to Python. I created a new Python project using PyCharm. When I run my small standalone program, I am getting the following error.
"C:\D drive\Workspace\Python_scripts\MyFirstProj\venv\Scripts\python.exe" "C:/D drive/Workspace/Python_scripts/MyFirstProj/searchproducts.py"
Traceback (most recent call last):
File "C:/D drive/Workspace/Python_scripts/MyFirstProj/searchproducts.py", line 2, in <module>
from selenium.webdriver.common.by import By
ModuleNotFoundError: No module named 'selenium.webdriver.common'
Process finished with exit code 1
I have installed PIP and installed Selenium through PIP.
I have Python, Python Scripts, Chrome driver path all in the environmental variables. Can someone help me understand why I am getting this error?