Ask coding questions

← Back to all posts
Error "No such file or directory" when running resp.html.render() in Python
[deleted]

I'm trying to scrape data from a Javascript webpage with the Python requests-html lib. When I run the request, I get the following error:

pyppeteer.errors.BrowserError: Browser closed unexpectedly:
/home/runner/.local/share/pyppeteer/local-chromium/575458/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory