Ask coding questions

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

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: cannot open shared object file: No such file or directory

ChanceCook (1)

pyppeteer does not work on replit yet