安装pyppeteer遇到问题,大家是怎么解决的?

20 Replies, 2510 Views

Chromium download fails are super common with 安装pyppeteer, especially on slower networks.

Try setting the env var before installing:
`PYPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors pip install pyppeteer`

This uses a mirror in China, way faster. Also, check if your firewall/AV is blocking the download.

Messages In This Thread



Users browsing this thread: 1 Guest(s)