[英]selenium.common.exceptions.WebDriverException: Message: Service unexpectedly exited. Status code was: 3221225595
I am unable to use geckodriver in selenium.我无法在 selenium 中使用 geckodriver。 It is showing me this error :
它向我展示了这个错误:
Traceback (most recent call last):
File "c:/E/INSURANCE/Data.py", line 13, in <module>
browser = webdriver.Firefox(executable_path=r'C:\Users\intel\Downloads\geckodriver.exe')
File "C:\Users\intel\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 164, in __init__
self.service.start()
File "C:\Users\intel\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 98, in start
self.assert_process_still_running()
File "C:\Users\intel\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 109, in assert_process_still_running
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: Service C:\Users\intel\Downloads\geckodriver unexpectedly exited. Status code was: 3221225595
Any help would be appreciated...任何帮助,将不胜感激...
Try installing the Microsoft Visual Studio redistributable runtime, it might fix your problem.尝试安装 Microsoft Visual Studio 可再发行运行时,它可能会解决您的问题。
Source: Geckodriver issue from bugtracker .来源:来自 bugtracker 的 Geckodriver 问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.