What was reported:
Issue serpapi/google-search-results-python#63 (closed, 26 comments): After creating a subscriber account in serpapi, I have been given an API key. I Installed the "pip install google-search-results " but whenever I tried to run my django app I get this error: File "[HOME]/...", line 932, in _bootstrap_inner self.run() File "[HOME]/...", line 870, in run self._target(*self._args, **self._kwargs) File "[HOME]/...", line 64, in wrapper...
What works:
'ImportError: cannot import name GoogleSearch from serpapi' happens when you install the wrong package: pip install serpapi gives you a different library. The SerpAPI client lives in the google-search-results package. Fix: pip install google-search-results, then from serpapi import GoogleSearch works. A commenter confirmed this resolved it.