-
-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pydriod3 cannot run!!! #640
Comments
Same problem on Windows 11 and Python 3.11
|
same error here :( |
Because it does not support android, unless you install the linux version of chrome-stable in android |
PyDriod 3 cannot run webdriver_manager
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))
《error occur》
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome: not found
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome-stable: not found
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome-beta: not found
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome-dev: not found
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome: not found
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome-stable: not found
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome-beta: not found
/data/user/0/ru.iiec.pydroid3/files/sh: google-chrome-dev: not found
Traceback (most recent call last):
File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in
start(fakepyfile,mainpyfile)
File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start
exec(open(mainpyfile).read(), main.dict)
File "", line 6, in
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/webdriver_manager/chrome.py", line 40, in install
driver_path = self._get_driver_binary_path(self.driver)
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/webdriver_manager/core/manager.py", line 40, in _get_driver_binary_path
file = self._download_manager.download_file(driver.get_driver_download_url(os_type))
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/webdriver_manager/drivers/chrome.py", line 32, in get_driver_download_url
driver_version_to_download = self.get_driver_version_to_download()
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/webdriver_manager/core/driver.py", line 48, in get_driver_version_to_download
return self.get_latest_release_version()
File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/webdriver_manager/drivers/chrome.py", line 64, in get_latest_release_version
determined_browser_version = ".".join(determined_browser_version.split(".")[:3])
AttributeError: 'NoneType' object has no attribute 'split'
[Program finished]
The text was updated successfully, but these errors were encountered: