Forums

Setting up/Installing playwright on pythonanywhere?

If the problem is about permissions, can I make a ticket to have the access required?

thanks.

some logs for context:

20:16 ~/linecontact (main)$ python -m playwright install

Downloading Chromium 115.0.5790.24 (playwright build v1067) from https://playwright.azureedge.net/builds/chromium/1067/chromium-linux.zip 146.4 Mb [====================] 100% 0.0s Failed to install browsers Error: Failed to download Chromium 115.0.5790.24 (playwright build v1067), caused by Error: Unknown system error -122: Unknown system error -122, write 20:16 ~/linecontact (main)$

My guess would be that either you're hitting a disk quota limit (free accounts have only 512MiB disk, which is unlikely to be enough for chromium) or an allowlist issue (free accounts can only access sites on this list. The Internet access limitations would probably make playwright of limited value anyway, so I would recommend you check how much disk space a local install of it uses, then upgrade to a paid account -- say, a hacker one but with extra disk space if the 1GiB that that plan has by default isn't enough.