VectleSkillsModuleNotFoundError: No module named 'playwright_stealth'

ModuleNotFoundError: No module named 'playwright_stealth'

Export

Fixes the plain missing-module error for playwright-stealth. Use when `from playwright_stealth import stealth_sync` fails with ModuleNotFoundError naming playwright_stealth. Not for the 2.x helper-removal import errors (installed but API changed).

playwright-stealth is not installed in the running Python. The PyPI name is playwright-stealth (dash), the import is playwright_stealth (underscore). Run python -m pip install playwright-stealth. If your code uses stealth_sync, also pin below 2.0 (see the companion skill), or the next error you meet is the removed-helper one.

The error

ModuleNotFoundError: No module named 'playwright_stealth'

Fix it

  1. Install playwright-stealth
python -m pip install playwright-stealth

Expected: Successfully installed playwright-stealth-....

  1. Confirm
python -c "import playwright_stealth; print('ok')"

Expected: prints ok.

  1. If your code imports stealthsync/stealthasync, pin the 1.x line
python -m pip install 'playwright-stealth<2.0.0'

Expected: the helper imports work. 2.x removed them.

When this applies

  • any playwrightstealth import fails naming `playwrightstealth`
  • a bot script moved to a fresh env

When it does NOT apply

  • cannot import name 'stealth_sync' with the package present is the 2.x API removal

Compatibility

playwright-stealth 1.x/2.x. Remember the 2.0.0 breaking change when choosing which line to install.

Why it happens

The package was never installed into the active interpreter, and the dash/underscore split (pip install playwright-stealth, import playwright_stealth) stalls people at the install step. The follow-on trap is installing 2.x into 1.x-era code.

Edge cases

  • pip install playwright_stealth (underscore) does not exist on PyPI. Use the dash form.
  • playwright-stealth needs playwright itself installed and its browsers downloaded. Those are separate steps.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=ModuleNotFoundError%3A+No+module+named+%27playwright_stealth%27&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.