selenium.common.exceptions.WebDriverException:消息:服务。\ geckodriver.exe意外退出。状态代码为:3221225595

时间:2020-05-30 14:50:08

标签: python selenium firefox geckodriver selenium-firefoxdriver

我一直在尝试使Instapy正常工作,但因此错误而震惊。

selenium.common.exceptions.WebDriverException: Message: Service .\geckodriver.exe unexpectedly exited. Status code was: 3221225595

以下是有关我已经做过的事情的信息;

  1. 下载GeckoDriver的最新版本。
  2. 下载FireFox的最新版本。
  3. 已安装Visual C++ Redistributable for Visual Studio 2015

热切等待解决方案:)

1 个答案:

答案 0 :(得分:0)

此错误消息...

Status Code 3221225477

...表示 GeckoDriver 意外退出。


状态码:3221225595

根据Getting error Service geckodriver unexpectedly exited. Status code was: 3221225595 root中的文档,在没有 VCRUNTIME140.dll 的情况下引发。

VCRUNTIME140_dll

到目前为止,您将需要在所有Windows测试计算机上安装 Microsoft Visual Studio可再分发运行时,以使geckodriver正常工作。

此问题已通过Geckodriver windows binaries don't run anymore without having the Microsoft MSCV runtime installed Bugzilla 中进行了讨论和跟踪。


Outro

您可以在以下位置找到详细的讨论: