question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't possibly make it find chromedriver

See original GitHub issue

Tried on bash for windows AND windows cmd. always cant find chromedriver.

chromedriver --version ChromeDriver 2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb)

chromedriver Starting ChromeDriver 2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb) on port 9515 Only local connections are allowed.

`googleimagesdownload -cf=cf.json -cd=C:\Users\Kem\AppData\Local\Programs\Python\Python36\Scripts\chromedriver.exe

Item no.: 1 --> Item name = Metal Gear Solid screenshot Evaluating… 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: argument of type ‘NoneType’ is not iterable)`

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
devingDevcommented, May 27, 2018

Did you git clone this repo? If so you should edit the file https://github.com/hardikvasa/google-images-download/blob/master/google_images_download/google_images_download.py and hardcode the path like this :

arguments['chromedriver'] = "C:\\geckodriver-v0.20.1-win64\\chromedriver.exe"

Add it somewhere right before the download function call, I added the line here: https://github.com/hardikvasa/google-images-download/blob/master/google_images_download/google_images_download.py#L813

This should work : https://hastebin.com/inifilojoq.py

1reaction
pandadomcommented, May 28, 2018

@devingDev you are my hero!

I did as you said and hard coded the path and everything is working smoothly now! thanks a lot man!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't selenium find the chrome driver? - Stack Overflow
I went to the website specified in the error and downloaded the driver. Then I added it to path by going to System...
Read more >
ChromeDriver - WebDriver for Chrome - Getting started
ChromeDriver is a separate executable that Selenium WebDriver uses to control Chrome. It is maintained by the Chromium team with help from WebDriver ......
Read more >
Error: The ChromeDriver could not be found - Treehouse
Hi all, Just trying to run the builder command on my Windows 10 PC running Chrome. As in the video, I entered in...
Read more >
Can't Find ChromeDriver Executable - Google Groups
1) Go to: http://code.google.com/p/chromedriver/downloads/list · 2) Download the chromedriver exe for your OS. Extract the file at certain location. · 3) Make ......
Read more >
Install browser drivers - Selenium
Selenium Manager helps you to get a working environment to run Selenium out of the box. Beta 1 of Selenium Manager will configure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found