[Tutor] Selenium
jet pistol
jet_pistol at outlook.fr
Tue May 26 10:38:54 EDT 2020
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
More information about the Tutor
mailing list