Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello.I have a big program ,so I dont share the whole program ,but the lines I get the error
I use ubuntu server 20.04 (64 bit) in raspberry pi 3
I have installed selenium,firefox,pip,geckodriver(linux 64 bit).
I tried a lot of things to solve the error I will so you below,but can't figure it out.

command "uname -m" in terminal of raspberry pi -> aarch64

Thanks in advance

What I have tried:

Python
from selenium import webdriver
from selenium.webdriver.firefox.options import Options

options = Options()
options.add_argument('--headless')
driver = webdriver.Firefox(options=options)     # call Firefox 



Error:Link[^]
Posted
Comments
Richard MacCutchan 27-Feb-22 3:26am    
Please add the error details to your question; it really is not difficult.
Nick_is_asking 27-Feb-22 6:30am    
I'm connected via TeamViewer in the raspberry pi because I'm far away and can't just copy paste all these lines of error.You can simple click the link I provide
Richard MacCutchan 27-Feb-22 6:57am    
It's extremely difficult to read but it has something to do with an exec call as far as I can see. You need to check the parameters that are being passed in the carCLicker.py module around line 252.
Nick_is_asking 27-Feb-22 7:02am    
The funny thing is that I can run the same code in my laptop and a virual machine I have (ubuntu server 20) ,but can't run it in raspberry pi 3 (ubuntu server 20)
Here I write the last line of errors:
"OSError: [Errno 8] Exec format error: 'geckodriver'"

I don't know what's going on? I included all the libraries in raspberry pi and still doesn't work.
Richard MacCutchan 27-Feb-22 7:45am    
The only way to find out is by using the debugger, it is impossible to guess.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900