TapSwapBot
TapSwapBot copied to clipboard
[Errno 8] Exec format error: 'webdriver/chromedriver'
spacs : ubuntu 20.04.6 (aarch64) webdriver-manager==4.0.2
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:
- you have downloaded the correct version of Chromedriver for Linux, not the Windows version. You can download it from the official Chromedriver site;
- the file has the executable permission. if not use the following command:
chmod +x webdriver/chromedriver; - Chromedriver version matches the installed version of Google Chrome. If they are mismatched, you may encounter compatibility issues;