We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm not on Windows. I believe this is the reason why I get this error:
~/bin $ python gbd.py Google Books Downloader by @aprikyan, 2020. . . . . . . . . . . . Traceback (most recent call last): File "/mnt/Data/bin/gbd.py", line 244, in <module> driver = webdriver.Chrome("chromedriver.exe", options=chrome_options) File "/home/simonapetra/.local/lib/python3.10/site-packages/seleniumwire/webdriver.py", line 206, in __init__ super().__init__(*args, **kwargs) File "/home/simonapetra/.local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__ self.service.start() File "/home/simonapetra/.local/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 72, in start self.process = subprocess.Popen(cmd, env=self.env, File "/usr/lib/python3.10/subprocess.py", line 966, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: 'chromedriver.exe'
Can you confirm or advice how to solve this error, please?
The text was updated successfully, but these errors were encountered:
You can just replace chromedriver.exe with chromedriver on line 244 in gbd.py. You might need to install chromedriver if you don't have, yet.
chromedriver.exe
chromedriver
gbd.py
Sorry, something went wrong.
Hello I installed chromedriver but now I have this error (same one)
python3 ./gbd.py Traceback (most recent call last): File "/HOME_INSTALL/google-books-downloader/./gbd.py", line 6, in <module> from seleniumwire import webdriver File "/HOME/.local/lib/python3.11/site-packages/seleniumwire/webdriver.py", line 23, in <module> from selenium.webdriver import EdgeOptions ImportError: cannot import name 'EdgeOptions' from 'selenium.webdriver' (/HOME/.local/lib/python3.11/site-packages/selenium/webdriver/__init__.py)
It is this one I need to install : https://pypi.org/project/chromedriver-py/ ? Do I need to specify "chromedriver" or "chromedriver-py" in gbd.py ?
Do you have any clue for me ? Thanks, amazing work here !
No branches or pull requests
I'm not on Windows. I believe this is the reason why I get this error:
Can you confirm or advice how to solve this error, please?
The text was updated successfully, but these errors were encountered: