Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

Troubleshooting • Re: Unable to obtain driver for chrome.

$
0
0
Here's the error by the way:

Code:

Traceback (most recent call last):  File "/home/pi/Test-Env/lib/python3.11/site-packages/selenium/webdriver/common/driver_finder.py", line 67, in _binary_paths    output = SeleniumManager().binary_paths(self._to_args())             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/home/pi/Test-Env/lib/python3.11/site-packages/selenium/webdriver/common/selenium_manager.py", line 45, in binary_paths    args = [str(self._get_binary())] + args                ^^^^^^^^^^^^^^^^^^  File "/home/pi/Test-Env/lib/python3.11/site-packages/selenium/webdriver/common/selenium_manager.py", line 83, in _get_binary    raise WebDriverException(f"Unsupported platform/architecture combination: {sys.platform}/{arch}")selenium.common.exceptions.WebDriverException: Message: Unsupported platform/architecture combination: linux/aarch64The above exception was the direct cause of the following exception:Traceback (most recent call last):  File "/etc/Test.py", line 32, in <module>    driver = webdriver.Chrome(options=chrome_options)             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/home/pi/Test-Env/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__    super().__init__(  File "/home/pi/Test-Env/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 50, in __init__    if finder.get_browser_path():       ^^^^^^^^^^^^^^^^^^^^^^^^^  File "/home/pi/Test-Env/lib/python3.11/site-packages/selenium/webdriver/common/driver_finder.py", line 47, in get_browser_path    return self._binary_paths()["browser_path"]           ^^^^^^^^^^^^^^^^^^^^  File "/home/pi/Test-Env/lib/python3.11/site-packages/selenium/webdriver/common/driver_finder.py", line 78, in _binary_paths    raise NoSuchDriverException(msg) from errselenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

Statistics: Posted by sheikah_blight — Tue Jul 16, 2024 1:44 pm



Viewing all articles
Browse latest Browse all 3552

Trending Articles