on-internet
← Community

Playwright install fails on Ubuntu 24.04 due to missing system dependencies, even after installing recommended packages

Stack Overflow ·

I'm trying to set up Playwright for Python on Ubuntu 24.04 (Noble Numbat). Here are the steps I followed: Created a virtual environment: python3 -m venv venv source venv/bin/activate Installed Playwright and other dependencies: pip install playwright rich python-dotenv Then tried to install the browsers: playwright install But I received this warning: ``` Playwright Host validation warning: Host system is missing dependencies to run browsers. Please install them with the following command: sudo playwright install-deps ``` However, since Playwright is installed inside a venv, I can't run sudo p

Comments

Sign in or sign up to comment and upvote.

No comments yet.