【问题标题】:Error installing Chrome driver (selenium) dependencies安装 Chrome 驱动程序 (selenium) 依赖项时出错
【发布时间】:2021-08-14 05:47:36
【问题描述】:

我需要安装 Chrome 驱动程序 - Selenium,我正在执行此文件中的命令:https://gist.github.com/ziadoz/3e8ab7e944d02fe872c3454d17af31a5

配置:

所以 - Ubuntu 16

Python 3.4

但我没有进步

sudo apt-get -f install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4

输出

Reading package lists... Done
Building dependency tree
Reading state information... Done
libxi6 is already the newest version (2:1.7.6-1).
libxi6 set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libgconf-2-4 : Depends: gconf2-common (= 3.2.6-3ubuntu6) but it is not going to be installed
                Recommends: gconf-service but it is not going to be installed
 openjdk-8-jre-headless : Depends: ca-certificates-java but it is not going to be installed
                          Depends: java-common (>= 0.28) but it is not going to be installed
                          Depends: libcups2 but it is not going to be installed
                          Depends: liblcms2-2 (>= 2.2+git20110628) but it is not going to be installed
                          Depends: libnss3 (>= 2:3.17.1) but it is not going to be installed
                          Depends: libpcsclite1 (>= 1.3.0) but it is not going to be installed
 perl : Depends: libperl5.22 (= 5.22.1-9ubuntu0.9) but 5.22.1-9ubuntu0.6 is to be installed
 xvfb : Depends: xserver-common (>= 2:1.18.4-0ubuntu0.12) but it is not going to be installed
        Depends: libxfont1 (>= 1:1.4.2) but it is not going to be installed
        Depends: x11-xkb-utils but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我该如何解决?

【问题讨论】:

    标签: python python-3.x installation selenium-chromedriver


    【解决方案1】:

    我设法用命令解决了:

    sudo apt-get install -f
    sudo apt-get autoremove
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-02-24
      • 2013-01-01
      • 2017-12-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多