python pyinstaller打包playwright代码运行报错 提示要playwright install 的解决方法:
用cmd命令执行以下两条语句
set PLAYWRIGHT_BROWSERS_PATH=0
playwright install
然后再 打包即可
pyinstaller -F xx.py
python pyinstaller打包playwright代码运行报错 提示要playwright install 的解决方法:
用cmd命令执行以下两条语句
set PLAYWRIGHT_BROWSERS_PATH=0
playwright install
然后再 打包即可
pyinstaller -F xx.py