playwright安装出现异常处理

系统:win7 64
python:Python 3.8.9

 

最近配置 playwright 出现异常的处理

采用默认的pip install playwright 安装非常慢,很容易超时错误,

建议切换一下载资源地址,速度快起来,加载无压力

最开始用这个默认安装

pip install playwright -i https://pypi.tuna.tsinghua.edu.cn/simple/

发现下面命令出错

playwright install

node.exe - 无法找到入口

无法定位程序输入点GetSystemTimePreciseAsFileTime于动态链接库 KERNEL32.dI 上。

后面发现原来是支持win7的playwright最高版本是1.15.3

所以得要

pip install playwright==1.15.3 -i https://pypi.tuna.tsinghua.edu.cn/simple/

这个就没有问题了

命令:

playwright install

可以正常执行

完美解决问题

版权声明:
作者:浣熊
链接:http://www.ihuanxiong.cn/31313.html
来源:浣熊博客
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>