Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用python3 -m playwright install 无反应,用python -m playwright install安装后报错 #4

Open
jjjyyyllll opened this issue Apr 28, 2022 · 6 comments

Comments

@jjjyyyllll
Copy link

No description provided.

@jjjyyyllll
Copy link
Author

PS D:\SoftWares\book118> python run.py 'https://max.book118.com/html/2022/0223/7111013165004065.shtm'
Traceback (most recent call last):
File "D:\SoftWares\book118\run.py", line 231, in
run(playwright)
File "D:\SoftWares\book118\run.py", line 12, in run
browser = playwright.chromium.launch(headless=False)
File "D:\SoftWares\Python\lib\site-packages\playwright\sync_api_generated.py", line 11511, in launch
self._sync(
File "D:\SoftWares\Python\lib\site-packages\playwright_impl_sync_base.py", line 88, in _sync
return task.result()
File "D:\SoftWares\Python\lib\site-packages\playwright_impl_browser_type.py", line 90, in launch
Browser, from_channel(await self._channel.send("launch", params))
File "D:\SoftWares\Python\lib\site-packages\playwright_impl_connection.py", line 39, in send
return await self.inner_send(method, params, False)
File "D:\SoftWares\Python\lib\site-packages\playwright_impl_connection.py", line 63, in inner_send
result = next(iter(done)).result()
playwright._impl._api_types.Error: Executable doesn't exist at C:\Users\Gudy\AppData\Local\ms-playwright\chromium-1000\chrome-win\chrome.exe
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝

@wbhinspector
Copy link

用playwright install安装

@kerm-me
Copy link
Owner

kerm-me commented Apr 29, 2022

嗯对

@AoiMatsu
Copy link

AoiMatsu commented Jun 7, 2022

我也是这个问题,请问大佬有解决吗?

@kerm-me
Copy link
Owner

kerm-me commented Jun 7, 2022

运行 playwright install

@zzpop
Copy link

zzpop commented Apr 4, 2023

只能说控制台都提示你了
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
意思是你需要先运行 playwright install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants