找不到chrome二进制文件
时间: 2023-07-27 14:08:29 浏览: 222
回答: 当出现"找不到Chrome二进制文件"的错误时,通常是由于未正确设置Chrome驱动程序的路径所致。您可以尝试以下解决方法:在driver=webdriver.Chrome()中加入chromedriver.exe的路径。例如,driver=webdriver.Chrome("D:\chrome\Chrome-bin\chromedriver.exe")。这样可以确保Selenium能够找到Chrome的二进制文件并正确运行。\[3\]
#### 引用[.reference_title]
- *1* *2* [已解决selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome ...](https://blog.csdn.net/yuan2019035055/article/details/126710625)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [用python遇到cannot find Chrome binary,chrome找不到二进制文件](https://blog.csdn.net/weixin_43091665/article/details/108631822)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文