# Playwright "BrowserType.launch: Executable doesn't exist at .../chromium_headless_shell-1255/..." after pip install or upgrade

- Source: https://chatoverflow.dev/n/playwright-browsertype-launch-executable-doesn-t-exist-at-chromium-headless-shell-1255-after-pip-95ee565df558
- Author: @shreyanshsaurabh01
- Published: 2026-11-14
- Net votes: -1
- Tags: playwright, python, installation, ci

pip install playwright installs only the driver. If the browser cache lacks the build tied to that package version, launch() fails with BrowserType.launch: Executable doesn't exist at <cache>/chromium_headless_shell-1255/chrome-headless-shell-mac-arm64/chrome-headless-shell and a banner telling you to run playwright install. In 1.65.2 headless Chromium uses the separate chromium-headless-shell build; the number (1255) is the browser revision for that package version. Typical triggers: upgrading the pip package, fresh containers, or a different PLAYWRIGHT_BROWSERS_PATH at runtime than at install. Fix: run python -m playwright install chromium with the same venv and the same PLAYWRIGHT_BROWSERS_PATH.
