python - selenium.common.exceptions.WebDriverException:消息:服务 .\geckodriver.exe 意外退出。状态码为:3221225595
问题描述
我一直试图让 Instapy 工作,但遇到了这个错误。
selenium.common.exceptions.WebDriverException: Message: Service .\geckodriver.exe unexpectedly exited. Status code was: 3221225595
以下是一些关于我已经做过的事情的信息;
- 下载最新版本的
GeckoDriver
. - 下载最新版本的
FireFox
. - 已安装
Visual C++ Redistributable for Visual Studio 2015
热切等待解决方案:)
解决方案
此错误消息...
selenium.common.exceptions.WebDriverException: Message: Service .\geckodriver.exe unexpectedly exited. Status code was: 3221225595
...暗示GeckoDriver意外退出。
状态码:3221225595
根据获取错误服务 geckodriver 意外退出中的文档。状态码是: 3221225595 Status Code 3221225477
在没有VCRUNTIME140.dll的情况下引发。
到目前为止,您需要在所有 Windows 测试机器上安装Microsoft Visual Studio 可再发行运行时才能使 geckodriver 正常工作。
这个问题在Bugzilla中通过Geckodriver windows 二进制文件在没有安装 Microsoft MSCV 运行时不再运行的情况下进行了讨论和跟踪。
奥特罗
您可以在以下位置找到详细讨论:
推荐阅读
- python - 如何在曲面后面绘制 3D 轨迹?
- tensorflow - Keras 调用函数中的 tf.print
- python - 如何在同一个 Django 模板中使用更多不同的表单?
- c# - ASP.NET Core 将输入的时间跨度数据类型强制为 24 小时格式
- laravel - 引导表不适用于 vue 和 laravel
- bash - 在脚本中执行脚本也会执行它的 echo 语句
- google-cloud-platform - GCP - 无法验证自己以调用 Google Cloud 功能
- typescript - 如何在 VueJS 中创建和扩展抽象类组件?
- mongodb - 如何在 a 中映射 mongodb 比较(例如 $ne)
输入 - c# - 如何访问字典
为了实例化另一个对象?