Ask coding questions

← Back to all posts
Why "from googlesearch import search" gives a error?
Harkinian (1)

So i am trying to scrape google results but...

When i do "from googlesearch import search" like usual it just gives me this error:

" Traceback (most recent call last):
File "", line 1, in <module>
from googlesearch import search
ModuleNotFoundError: No module named 'googlesearch' "

Python version: Python 3 (using obviously)

Help is appreciated!

Answered by VulcanWM (2778) [earned 5 cycles]
View Answer
VulcanWM (2778)

Try doing
pip install googlesearch

Harkinian (1)


ok pip install google worked thanks