Reputation: 35
I am new to web scraping. I am using PyCharm IDE and on python 2.7 version.
I am getting the following error while installing the google search package in PyCharm.
ERROR: Could not find a version that satisfies the requirement google search (from versions: none) ERROR: No matching distribution found for google search
I am not getting this error in other packages like BeautifulSoup
, Scrapy
and Pandas
.
I tried upgrading version python 3.8/ 3.4 but the error persists.
Any pointers/ help is appreciated. Many thanks in advance.
Upvotes: 2
Views: 4124
Reputation: 158
Try to install google package:
pip install google
and then use googlesearch module, check the following reference:
https://www.geeksforgeeks.org/performing-google-search-using-python-code/
Also you can use google-seach package directly. for this one try to install google-search package:
pip install google-search
Upvotes: 0
Reputation: 31
The name of the package is google-search, so the following command will work :
pip install google-search
For next time, just googling the package will guide you to https://pypi.org/ where you can find the correct installation command.
Upvotes: 1