Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
479 views
in Technique[技术] by (71.8m points)

google api - python - ModuleNotFoundError: No module named 'googlesearch'

from googlesearch import search


query = "see"

links = []
for j in search(query, tld="co.in", num=10, stop=10, pause=2):
    links.append(j)
print(links)

I've done absolutely everything I can in my power to make it work. I did all of the things mentioned below:

  1. pip install google
  2. pip install google-search
  3. pip install google-cloud

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Did you do pip install googlesearch-python because that is the command you have to run to install googlesearch


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...