[Python] ValueError: No chrome executable found on PATH, chromedriver_autoinstaller.install

Discussão em 'Python' iniciado por Stack, Setembro 27, 2024.

  1. Stack

    Stack Membro Participativo

    Trying to use chromedriver_autoinstaller.install() but getting the ValueError: No chrome executable found on PATH

    chromedriver_autoinstaller.install()
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/home/e/reports_automation/venv/lib/python3.10/site-packages/chromedriver_autoinstaller/__init__.py", line 21, in install
    chromedriver_filepath = utils.download_chromedriver(path, no_ssl)
    File "/home/e/reports_automation/venv/lib/python3.10/site-packages/chromedriver_autoinstaller/utils.py", line 269, in download_chromedriver
    chrome_version = get_chrome_version()
    File "/home/e/reports_automation/venv/lib/python3.10/site-packages/chromedriver_autoinstaller/utils.py", line 140, in get_chrome_version
    path = get_linux_executable_path()
    File "/home/e/reports_automation/venv/lib/python3.10/site-packages/chromedriver_autoinstaller/utils.py", line 196, in get_linux_executable_path
    raise ValueError("No chrome executable found on PATH")
    ValueError: No chrome executable found on PATH

    Continue reading...

Compartilhe esta Página