I am trying to execute some python project and I am getting following error:-
File "feed.py", line 17, in <module> from selenium import webdriver ImportError: No module named selenium
I installed selenium package by using pip command for both python2 and python3. If I run python on terminal, I don't get this error if I try to import selenium.
But project I am executing using venv. I am unable to figure out from where it is trying to look for selenium package.
When I execute python2.7/python/python on terminal and run
from selenium import webdriver, I don't see any import errors. But the project when I execute is giving me error. I am unable to locate the path which is being looked up for selenium. How can I find it?