from googleapiclient.discovery import build
import pprint

my_api_key = "AIzaSyCCFQ7q6yM665kbQv128C1QPO0Ls--TD6w"
my_cse_id = "Custom Search Engine ID"

def google_search(search_term, api_key, cse_id, **kwargs):
    service = build("customsearch", "v1", developerKey=api_key)
    res = service.cse().list(q=search_term, cx=cse_id, **kwargs).execute()
    return res['items']

results = google_search(
    'stackoverflow site:en.wikipedia.org', my_api_key, my_cse_id, num=10)
for result in results:
    pprint.pprint(result)
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-b99915d03b02> in <module>
----> 1 from googleapiclient.discovery import build
      2 import pprint
      3 
      4 my_api_key = "AIzaSyCCFQ7q6yM665kbQv128C1QPO0Ls--TD6w"
      5 my_cse_id = "Custom Search Engine ID"

ModuleNotFoundError: No module named 'googleapiclient'