Can Not Import Module Search From Google Module In Python
Solution 1:
The shortest work around for this will be:
from googlesearch import search
Solution 2:
Your installation of Python came with a built-in module named google
which is taking precedence over the one you installed. You have two options:
Solution 3:
"from google import search" is giving error as there is no module with the name "google".After "pip install google" i checked the path to find out out the module in lib, but i was not able to find. I checked and found a module with "googlesearch". By doing the below change in my code i was able to solve the issue
OLD : "from google import search" NEW : "from googlesearch import search"
Solution 4:
simply install both google and google-search
pip install google pip install google-search
It works for me
Solution 5:
Just import google and you will be all set :)
import google
It is tested and verified.
Post a Comment for "Can Not Import Module Search From Google Module In Python"