TapSwapBot icon indicating copy to clipboard operation
TapSwapBot copied to clipboard

[Errno 8] Exec format error: 'webdriver/chromedriver'

Open biswajr opened this issue 1 year ago • 1 comments

image

spacs : ubuntu 20.04.6 (aarch64) webdriver-manager==4.0.2

biswajr avatar Sep 10 '24 21:09 biswajr

I just got the same problem on ubuntu, so I've solved it through these steps: make sure that: 0. chrome is installed correctly: google-chrome --version;

if not: Try to manually download it and place it in your webdriver directory:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
mv google-chrome-stable_current_amd64.deb webdriver

if that doesn't solve the issue, try to install it globally: sudo dpkg -i google-chrome-stable_current_amd64.deb and check again: google-chrome --version;

If this still hasn't helped, try the next steps. Make sure that:

  1. you have downloaded the correct version of Chromedriver for Linux, not the Windows version. You can download it from the official Chromedriver site;
  2. the file has the executable permission. if not use the following command: chmod +x webdriver/chromedriver;
  3. Chromedriver version matches the installed version of Google Chrome. If they are mismatched, you may encounter compatibility issues;

dmitry-js avatar Sep 28 '24 01:09 dmitry-js