【发布时间】:2018-03-01 07:24:54
【问题描述】:
有了 selenium 和 python 我已经有了
WebDriverException: Message: Service /usr/local/bin/phantomjs unexpectedly exited. Status code was: 127
我已经在脚本中调用了executeble_path,路径是正确的:
whereis phantomjs
phantomjs: /usr/local/bin/phantomjs
这里Trouble connecting to phantomJs webdriver using python and selenium 说要安装 libfontconfig,但我已经有了:
libfontconfig1 is already the newest version (2.11.94-0ubuntu2)
我该如何解决这个问题?
【问题讨论】:
-
这里有同样的问题。目前正在调查。
-
看看有没有类比情况https://stackoverflow.com/a/43168960
-
是的,但我已经安装了 libfontconfig