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

Program not running because of a missing driver #20

Closed
Wolfvaudou opened this issue Aug 1, 2023 · 7 comments
Closed

Program not running because of a missing driver #20

Wolfvaudou opened this issue Aug 1, 2023 · 7 comments

Comments

@Wolfvaudou
Copy link

When I run main.py, I got this message:
'WARNING:root:Can not find chromedriver for currently installed chrome version.'
making the script crashes. Tried it under Windows and Ubuntu on 3 differents PC, same issue.

@Chetan11-dev
Copy link
Contributor

Chetan11-dev commented Aug 1, 2023

Temporary Bug due on of the dependency of Bose chromedriver-autoinstaller. The fix is to:

  1. Go to https://googlechromelabs.github.io/chrome-for-testing/#stable and download "chrome driver" based on your chrome version.
  2. Extract the zip file
  3. Please place the "chromedriver" file (or "chromedriver.exe" if you are using Windows) directly into the build/ folder. Make sure you're not placing the entire folder but only the chrome driver file itself.
  4. Run python main.py and program should run successfuly.

EDIT: Updated Instructions for Clarity

@Wolfvaudou
Copy link
Author

Still not working, I take linux64 version of chromedriver, unzip it in build, renamed it into chromedriver (after deleting the one already there) then executed main.py but it didnt work and deleted the chromedriver file.

@Chetan11-dev
Copy link
Contributor

Chetan11-dev commented Aug 1, 2023

  1. Share error log screenshot
  2. go to build folder and enter output of "tree ."

@Wolfvaudou
Copy link
Author

Wolfvaudou commented Aug 1, 2023

It was my bad. I messed up with the unzipping and ended up with a chromedriver folder in build. My last little pb is, despite I have google-version-stable installed, he stills use mozilla as browser.

@Chetan11-dev
Copy link
Contributor

All's well that end well!

@007-JB
Copy link

007-JB commented Aug 10, 2023

Awesome - had same issue but resolved same way advised as above - pro version totally worth it man legend yeah!! :) 👍

@fabioselau077
Copy link

fabioselau077 commented Sep 3, 2023

Resolved. I've been trying to solve it since yesterday and I've solved it now.
You also need to have google-chrome installed, not just chromedriver.
That solved:

apt update && apt install wget
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

apt install ./google-chrome-stable_current_amd64.deb

Find this solution in one question in stackoverflow.

I am making some improvements and if it is of interest to the community I will contribute to the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants