Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chromedriver problem #120

Closed
Mozhdeh-d opened this issue Jun 23, 2018 · 4 comments
Closed

chromedriver problem #120

Mozhdeh-d opened this issue Jun 23, 2018 · 4 comments

Comments

@Mozhdeh-d
Copy link

Mozhdeh-d commented Jun 23, 2018

Hi,
My chromedriver is installed in /usr/bin and I'm running the following code:
python3 google_images_download.py -k 'cat' -cd /usr/bin -l 140

google_images_download.py file's path is: ~/Documents/google-images-download/google_images_download

And the error appears when I run the code:
Looks like we cannot locate the path the 'chromedriver' (use the '--chromedriver' argument to specify the path to the executable.) or google chrome browser is not installed on your machine (exception: Message: 'bin' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home )

Any solution?

@Mozhdeh-d
Copy link
Author

Mozhdeh-d commented Jun 23, 2018

Finally I found the solution here: https://github.com/hardikvasa/google-images-download/issues/73

@gjpicker
Copy link

no, I don't think #73 is a correct answer , if you update or download chromdriver to 2.40

my experience is chromdriver <=2.37 work well .so you'd better download/unzip from driver_2.37 again

googleimagesdownload -k 'example' -l 10000
googleimagesdownload -k 'example' -l 10000 --chromedriver ./chromedriver_2.37

ps: you should resolve the dependences of chromedriver_2.37 by youself by ldd ./chromedriver_2.37

@devingDev
Copy link

also try hardcoding the path like i did #110

@hardikvasa
Copy link
Owner

Updated the docs...resolving this issue. Thanks.

SecorD0 pushed a commit to SecorD0/google-images-download that referenced this issue Dec 2, 2022
SecorD0 pushed a commit to SecorD0/google-images-download that referenced this issue Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants