Replies: 1 comment
-
I believe the driver isnt made for the Raspebrry pi ARM chip, Sounds like a problem like this one: https://stackoverflow.com/questions/53927815/oserror-errno-8-exec-format-error-using-chromedriver-with-selenium-and-linux Perhaps downloading an ARM version and patching it could help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I have installed the undetected chromedriver on my raspberry from https://github.com/ultrafunkamsterdam/undetected-chromedriver by doing this: pip install git+https://github.com/ultrafunkamsterdam/undetected-chromedriver.git
After I run the below code, I get OSError: [Errno 8] Exec format error: '/home/pi/.local/share/undetected_chromedriver/undetected_chromedriver'
Any one know why?
Br
import undetected_chromedriver as uc
options = uc.ChromeOptions()
options.add_argument('--headless') # Runs the browser in headless mode.
options.add_argument('--no-sandbox')
options.add_argument('--disable-dev-shm-usage')
driver = uc.Chrome(options=options)
driver.get("https://www.google.com")
print(driver.title)
driver.quit()
Beta Was this translation helpful? Give feedback.
All reactions