我正在尝试使用SAM创建一个简单的python应用程序,它可以获取特定句柄的关注者数量。已经看过所有的教程和博客文章,但一直未能使它发挥作用。
构建和本地测试使用sam build和sam local invoke很好,但是,在部署到AWS之后,它会引发以下错误。
有什么办法解决这个问题吗?
{
"errorMessage": "Message: unknown error: Chrome failed to start: crashed.\n (chrome not reachable)\n (The process started from chrome l
我正在创建一个webscraper包,并且正在上传到Docker。虽然我可以构建到本地Docker存储库,但在没有出现以下错误的情况下,我无法运行脚本:
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
我需要在码头上运行硒边运行,我在dockerfile中写了安装googledrive和googledrive的文章。但是,在执行代码时,错误如下:
WebDriverError: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so