Image-Downloader
Image-Downloader copied to clipboard
对chrome版本是否有限制
使用118版本的chrome,一直提示错误 [15:30:06] Checking Google Chrome and chromedriver ... [15:30:07] WARNING:root:Can not find chromedriver for currently installed chrome version. [15:30:07] Dependencies not resolved, exit. [15:30:07] stopped
请问要运行此程序,是否需要指定版本的chrome
def resolve_dependencies(driver=str):
if "chrome" in driver:
print("Checking Google Chrome and chromedriver ...")
# if you have installed chronmium/chrome and chromedriver of the same version and still get an error, you can try commenting out the following three lines.
# driver_path = chromedriver_autoinstaller.install()
# if not driver_path:
# return False
print("OK.")
return True