Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Error running script (2) #3

@Batzouzou

Description

@Batzouzou

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions