Skip to content

[BUG] playwright._impl._errors.Error: BrowserType.launch_persistent_context: Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome #846

@fishfree

Description

@fishfree

我执行了 sudo /home/meme/miniconda3/envs/crawlzhihu/bin/uv run playwright install-deps 无报错。再执行:uv run uvicorn api.main:app --host 0.0.0.0 --port 8071 --reload,然后用浏览器访问,结果报错:

Image

确实不存在 /opt/google/chrome/chrome 文件

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions