函数import引用报错

image
在函数使用from playwright.sync_api import sync_playwright报错,应该在哪里install playwright

如果不使用这个方法,通过镜像应该怎么实现

这个方式不是很方便么?通过镜像指的是什么?