Skip to content

[rebrowser-playwright-python] playwright not installed #67

Closed
@ilyakamens

Description

@ilyakamens

I installed via uv add rebrowser-playwright. In pyproject.toml, I have:

dependencies = [
    ...
    "rebrowser-playwright>=1.48.100",
    ...
]

In my Dockerfile, I have the following, which installs the browser:

RUN uv run playwright install --with-deps

When I build my container, I get the following error:

 => ERROR [<redacted> stage-0 9/9] RUN uv run playwright install --with-deps          0.1s
------
 > [<redacted> stage-0 9/9] RUN uv run playwright install --with-deps:
0.118 error: Failed to spawn: `playwright`
0.118   Caused by: No such file or directory (os error 2)
------
failed to solve: process "/bin/sh -c uv run playwright install --with-deps" did not complete successfully: exit code: 2

All I did was replace playwright with rebrowser-playwright. Am I doing something obviously wrong? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions