chromedriver: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file

并且在python运行selenium中报错:
selenium.common.exceptions.WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127

  • 解决方法
$ sudo apt-get install libgconf-2-4

你可能感兴趣的:(Ubuntu)