python -m uiautomator2 init 错误

来源:2-11 u2项目初始化

fiter

2022-06-07

图片描述

写回答

4回答

大壮老师

2022-07-21

这是uiautomator2 github上作者给的安装命令

# Since uiautomator2 is still under development, you have to add --pre to install the development version
pip install --upgrade --pre uiautomator2

# Or you can install directly from github source
git clone https://github.com/openatx/uiautomator2
pip install -e uiautomator2

如果安装失败,建议手动安装

https://github.com/openatx/uiautomator2/wiki/Manual-Init

然后再执行

# init 所有的已经连接到电脑的设备
python -m uiautomator2 init


1
0

慕勒5311868

2023-04-10

0
0

慕勒5311868

2023-04-10

0
0

Blossom丶

2022-11-21

我报错的原因是把it和in分开了,结果和你一样,然后我pip install dataclasses,突然发现好像是连在一起的,然后运行成功了,不知道安装的dataclasses库有没有起作用

0
0

移动端Python爬虫实战 数据抓取+数据可视化

从App数据抓取到数据可视化,全流程讲解

1831 学习 · 1003 问题

查看课程