You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Regression]: bundled node in 1.65 needs libatomic.so.1, so the CLI fails on python:3.11-slim #44259
docker run --rm --platform linux/amd64 python:3.11-slim sh -c \
"pip install -q playwright==1.65.2 && playwright --version"
Same with playwright==1.65.0. With playwright==1.64.1 it prints Version 1.64.1.
Expected behavior
The CLI runs, so playwright install --with-deps chromium can install the browser and its system deps.
Actual behavior
/usr/local/lib/python3.11/site-packages/playwright/driver/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
ldd .../playwright/driver/node shows libatomic.so.1 => not found. Because the bundled node can't start, playwright install --with-deps can't fix it either. You have to apt-get install libatomic1 yourself first.
Additional context
We hit this in Docker images that do pip install playwright && playwright install --with-deps chromium. They started failing on Nov 9 when 1.65.0 came out. apt-get install libatomic1 or pinning 1.64.1 both fix it. I'm not sure if the new node build needing libatomic is intended. If it is, it'd be great to call it out in the release notes or the Python install docs, since python:*-slim images don't ship it.
Environment
Docker image python:3.11-slim (Debian), linux/amd64 (also seen on linux/arm64)
playwright (PyPI) 1.65.0, 1.65.1, 1.65.2
On Debian or Ubuntu, run this as root before running Playwright:
apt-get update && apt-get install -y libatomic1
I verified that this lets Playwright 1.65.2 start in python:3.11-slim. The proposal adds the prerequisite to both Python installation pages and the 1.65 release notes. It does not change the bundled runtime or remove the dependency.
The first CLI call fails with the reported error; the last prints Version 1.65.2. The image digest was sha256:07d4824036af339fa1b6ef769cc99d9c10a141769538b52b3b597c84f7a7b535.
Python main at de03c865f5738c2291a6a58c8b5c20346d8e70f2 still pins Node.js 26.13.1. I checked that pin against the binary tested above; I did not build a new Python wheel. I did not run arm64 or 1.65.1. No browser test applies: the loader fails before JavaScript or a browser starts.
The official Python Docker images already install this dependency following microsoft/playwright-python#3331. That change does not affect python:*-slim images.
The documentation proposal is against Playwright 2f1592a70bdd82049f5086df18c4359ca64d415b. npm run build passed. All npm run flint checks, including documentation links, passed in the official v1.65.1-noble container with the checkout's browser builds. The host lacked WebKit system libraries, so I did not install packages into the shared host.
Triaged on Linux by the Playwright bot - agent run
Activity
microsoft-playwright-automation commentedon Nov 20, 2026
microsoft-playwright-automation commentedon Nov 20, 2026
Hi, I'm the Playwright bot and I reproduced this on Linux.
This is an intentional Node.js dependency, but the Python installation docs omitted it. Playwright 1.65 changed the bundled Node.js from 24 to 26. Official Node.js Linux binaries require
libatomicstarting with Node.js 25. The failure happens before Playwright can runinstall --with-deps.On Debian or Ubuntu, run this as root before running Playwright:
apt-get update && apt-get install -y libatomic1I verified that this lets Playwright 1.65.2 start in
python:3.11-slim. The proposal adds the prerequisite to both Python installation pages and the 1.65 release notes. It does not change the bundled runtime or remove the dependency.Draft PR: #44262
Reproduction and checks
On Linux x86-64, I extracted the driver from the published Python wheels and ran it with all its shared libraries except
libatomic.so.1:libatomic.so.1libatomic.so.1--versionsucceed--version, CLI--version, andinstall --with-deps chromiumfail with exit 127The error is
libatomic.so.1: cannot open shared object file: No such file or directory.I also ran this independent check in the actual Python slim image:
The first CLI call fails with the reported error; the last prints
Version 1.65.2. The image digest wassha256:07d4824036af339fa1b6ef769cc99d9c10a141769538b52b3b597c84f7a7b535.Python main at
de03c865f5738c2291a6a58c8b5c20346d8e70f2still pins Node.js 26.13.1. I checked that pin against the binary tested above; I did not build a new Python wheel. I did not run arm64 or 1.65.1. No browser test applies: the loader fails before JavaScript or a browser starts.The official Python Docker images already install this dependency following microsoft/playwright-python#3331. That change does not affect
python:*-slimimages.The documentation proposal is against Playwright
2f1592a70bdd82049f5086df18c4359ca64d415b.npm run buildpassed. Allnpm run flintchecks, including documentation links, passed in the officialv1.65.1-noblecontainer with the checkout's browser builds. The host lacked WebKit system libraries, so I did not install packages into the shared host.Triaged on Linux by the Playwright bot - agent run
docs(python): document bundled Node.js libatomic prerequisite (#44262)