NanmiCoder / NanmiCoder/MediaCrawler
[BUG] playwright._impl._errors.Error: BrowserType.launch_persistent_context: Chromium distribution 'chrome' is not found at /opt/google/chrome/chrome
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 65.3k
- Forks
- 12.6k
- PR merge metrics
- No merged PRs in 30d
Description
我执行了 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,然后用浏览器访问,结果报错:
确实不存在 /opt/google/chrome/chrome 文件
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported commands: uv run playwright install-deps followed by uv run uvicorn api.main:app --host 0.0.0.0 --port 8071 --reload. Inspect the browser-launch path used by api.main:app and verify why it expects /opt/google/chrome/chrome; done means the browser can be launched without the reported missing-distribution error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100