Chromedriver崩溃

时间:2019-05-14 18:27:15

标签: python web-scraping raspberry-pi selenium-chromedriver raspberry-pi3

我目前正在尝试在新的Raspberry Pi上安装漫游器(https://github.com/nickirk/immo/issues/1)。我刚得到chromedriver的以下问题。 当我使用“ sudo apt-get install chromedriver”时,我收到一条消息,指出该软件包不存在InstallationCandidate。您是否可能知道哪个chromedriver适用于我的pi版本,并向我提供了链接或教程,说明如何正确安装它。我以前尝试过服务器版本的chrome驱动程序。

提前谢谢!

Traceback (most recent call last): File "immo.py", line 58, in <module> submit.submit_app(new) File "/home/pi/immobot/submit.py", line 7, in submit_app driver=webdriver.Chrome('/usr/bin/chromedriver') File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__ desired_capabilities=desired_capabilities) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Driver info: chromedriver=72.0.3626.121,platform=Linux 4.14.98-v7+ armv7l)

0 个答案:

没有答案