what version of python should I use? #598
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
BEWARE: your OS is not officially supported by Playwright; downloading fallback build for ubuntu20.04-x64. |
Beta Was this translation helpful? Give feedback.
-
|
@LinXin04 Regarding Python version, I suggest 3.10 and above, although its tested on 3.9 as well. However this message indicates that your current OS environment does not meet Playwright’s officially supported requirements. It’s not an issue with the code itself but rather with missing dependencies on your system or Docker image. Try running: or install the recommended packages: If you’re building a Docker image, add these dependencies to your Dockerfile’s build steps. Also consider using a newer Ubuntu base image so Playwright can run its browsers without fallback builds. Once you have these dependencies in place, the warnings should disappear. Let me know if you still experiencing the issue. |
Beta Was this translation helpful? Give feedback.
@LinXin04 Regarding Python version, I suggest 3.10 and above, although its tested on 3.9 as well. However this message indicates that your current OS environment does not meet Playwright’s officially supported requirements. It’s not an issue with the code itself but rather with missing dependencies on your system or Docker image.
Try running:
or install the recommended packages:
If you’re building a Docker image, add these dependencies to your Dockerfile’s build steps. Also consider using a newer Ubuntu base image so Playwright can run its browsers without fallback builds.
Once you have these dependen…