-
Notifications
You must be signed in to change notification settings - Fork 1
Error running script (2) #3
Description
HI ,
Further to installing and input details in config.jsaon I got the bellow error message in return:
raceback (most recent call last):
File "/usr/lib/python3/dist-packages/selenium/webdriver/common/service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/usr/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'chromedriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/covid19QRGeneratorBot/covid_bot.py", line 91, in
bot = CovidFrenchCertificateBot()
File "/root/covid19QRGeneratorBot/covid_bot.py", line 29, in init
self.driver = webdriver.Chrome()
File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 92, in init
self.service.start()
File "/usr/lib/python3/dist-packages/selenium/webdriver/common/service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home