I had installed a module with the command pip install google
. It worked file but when I try to run files with this module it gives error.
My code:-
from google import search
ip=raw_input("What would you like to search for? ")
for url in search(ip, stop=20):
print(url)
I have already installed google.
What am I doing wrong here?
Notes:-
- I have only 1 python installed (Python 3.9.5)
- Even after using command
python -m pip install google
it doesn't work.
Thank you!