pyppeteer 遇到的问题

1,/root/.local/share/pyppeteer/local-chromium/575458/chrome-linux/chrome: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
这是在系统上缺少某些依赖https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md可以通过这个连接查看缺少哪些
pyppeteer 遇到的问题
2,Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
可以这么写pyppeteer 遇到的问题
就可以了,可以看这个链接https://toutiao.io/posts/c5p4e7/preview