Closed ypankovych closed 4 years ago
i have the same issue
I got this Error Message:
Collecting Google-Search-API
Downloading https://files.pythonhosted.org/packages/73/38/eab35d4db8efd12256d30963498afe5210128d3fd221332360de9fc11614/Google-Search-API-1.1.13.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-c4h9m6cy/Google-Search-API/setup.py", line 15, in <module>
with open("test_requirements.txt") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'test_requirements.txt'
I got this error message:
I also got ahmchua's message.
It works now, you have to download the requirements.txt first, then:
pip install -r requirements.txt
Then:
pip install git+https://github.com/abenassi/Google-Search-API
and you can directly do:
from google import google
I tried to install the packages one by one from requirements.txt
without downloading and it still failed. It turns out the version of selenium I have installed is 3.11.01 and they need versions
<3.0.0` - in my opinion, they really should update the dependencies and mention to install the dependencies separately first in the README.
Here is what installed it for me:
wget https://raw.githubusercontent.com/abenassi/Google-Search-API/master/requirements.txt
pip install -r requirements.txt
pip install git+https://github.com/abenassi/Google-Search-API
Yeah @ianchute 's answer worked well for me.
I have this issue: