0

I have followed this SO question Searching in Google with Python and executed as explained in answer no. 2. I used pip install Google-Search-API, then executed following code:

from google import google
num_page = 3
search_results = google.search("Agriculture", num_page)

But even after successfully installing the API, I am getting the import error enter image description here enter image description here

neha
  • 55
  • 9

2 Answers2

0

I think you have to use this google module. More about it, here

0

The code that I posted in the question works fine with python 3.

neha
  • 55
  • 9