鱼C论坛

 找回密码
 立即注册
查看: 1815|回复: 2

playwright安装问题

[复制链接]
发表于 2022-3-17 09:58:45 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
大佬们好,求教一个playwright安装问题

我搜索了网上的playwright教程,用pip install playwright安装之后,再安装浏览器驱动,发现根本莫得反应呀,同时按教程去查询帮助文档,都没有反应,如下:

PS F:\Python\autoweb> pip install playwright
Requirement already satisfied: playwright in d:\program files\python3.8.10\lib\site-packages (1.20.0)
Requirement already satisfied: websockets==10.1 in d:\program files\python3.8.10\lib\site-packages (from playwright) (10.1)
Requirement already satisfied: typing-extensions in d:\program files\python3.8.10\lib\site-packages (from playwright) (4.1.1)
Requirement already satisfied: greenlet==1.1.2 in d:\program files\python3.8.10\lib\site-packages (from playwright) (1.1.2)
Requirement already satisfied: pyee==8.1.0 in d:\program files\python3.8.10\lib\site-packages (from playwright) (8.1.0)
WARNING: You are using pip version 21.1.1; however, version 22.0.4 is available.
You should consider upgrading via the 'd:\program files\python3.8.10\python.exe -m pip install --upgrade pip' command.
PS F:\Python\autoweb> python -m playwright codegen --help
PS F:\Python\autoweb> python -m playwright install
PS F:\Python\autoweb>

我试了在虚拟环境,或者在原生环境里做这个操作,但都是一样的,输入指令后毫无反应,我的操作系统是win7,在pycharm的终端里运行的结果。

拜托了!
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2022-3-17 14:14:42 | 显示全部楼层
:'(:victory::(
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2022-5-19 08:58:13 | 显示全部楼层
说你pip 版本过低,有更新版本,教你用python -m pip install --upgrade pip命令先更新一下pip就好了
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-18 06:00

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表