I received this error after doing the following 3 lines:
from google import google
search_results= google.search("something",1)
search_results[0].number_of_results
The last line is the problem. number_of_results seems to be the only problem because a similar line of:
search_results[0].name
gives me the correct result. I was looking in the code and noticed number_of_results gets initialized to None so at the very leased it should return None but instead its saying number_of_results doesn't exist.