[Tutor] Selenium

Don Jennings dfjennings at gmail.com
Thu May 28 20:48:35 EDT 2020


Hi. I don’t know how you installed chromedriver, but https://stackoverflow.com/questions/38833589/oserror-errno-8-exec-format-error-selenium#38836361 <https://stackoverflow.com/questions/38833589/oserror-errno-8-exec-format-error-selenium#38836361>
suggests that it’s not the correct version for the platform.

Best,
Don


> On May 26, 2020, at 10:38 AM, jet pistol <jet_pistol at outlook.fr> wrote:
> 
> Hi, I was trying to get a webscrapping script to work on my rapsberry, It worked fine on my Windows 10.
> I installed all modules, the chromium browser and the chromedriver. But this happens every time i try to launch the script on my rapsberry pi. I have no issues with all the modules import in python 3.8.3
> 
> 
> pi at raspberrypi:~/bot $ python3.8 webpronote.py
> Traceback (most recent call last):
>  File "webpronote.py", line 29, in <module>
>    driver = webdriver.Chrome()
>  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in     __init__
>    self.service.start()
>  File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 72, in start
>    self.process = subprocess.Popen(cmd, env=self.env,
>  File "/usr/local/lib/python3.8/subprocess.py", line 854, in __init__
>    self._execute_child(args, executable, preexec_fn, close_fds,
>  File "/usr/local/lib/python3.8/subprocess.py", line 1702, in _execute_child
>    raise child_exception_type(errno_num, err_msg, err_filename)
>  OSError: [Errno 8] Exec format error: 'chromedriver'
> 
> 
> Thanks for helping me out with chromedriver
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list