Image-Downloader
Image-Downloader copied to clipboard
使用谷歌搜索一直报错,是否需要升级什么版本?Can not find chromedriver for currently installed chrome version
Can not find chromedriver for currently installed chrome version
[17:28:22] driver = webdriver.Chrome(chrome_path, chrome_options=chrome_options) [17:28:22] TypeError [17:28:22] : [17:28:22] init() got an unexpected keyword argument 'chrome_options' [17:28:22] stopped
I resolved this issue by downloading chromedriver and adding it to PATH.
Then I commented utils.py lin 72-79
def resolve_dependencies(driver=str):
if "chrome" in driver:
print("Checking Google Chrome and chromedriver ...")
#driver_path = chromedriver_autoinstaller.install()
#if not driver_path:
# return False
print("OK.")
return True
same issue, gennaromellone's tip didn't work for me.
chromedriver
Works for me !!! For anyone who cant find histroy version of Chrome or Chromedriver, here is the link: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html