Google-Search-API
Google-Search-API copied to clipboard
AttributeError: module 'google' has no attribute 'search'
What is the solution to this error? I got really confused, because none of the solutions I could find out there work for me. I am running 3.6 version.
Can you post a minimal working example (few lines of code, that cause your problem)? Is it possible you imported it like import google instead of from google import google ? If you want to use it like the example in the README with google.search() try the second import method..
just wanted to add, import google does not work, from google import * also does not work.