Python安装uiautomator2下载安装教程

*话不多说直接开干,我们一起相互交流学习,有问题留言帮你解答
1、打开 PyCharm(事先安装好Python和pycharm)
Alt+F12调出Loca编辑命令

2、直接输入命令pip install --upgrade --pre uiautomator2 回车
就等待电脑自动下载安装uiautomator2

3、等待下载安装完成后,手机要连接到电脑上且打开开发者USB调试,确保电脑能读取到adb命令,同样的方式输入命令:
python -m uiautomator2 init

4、直接输入命令pip install --pre -U weditor 回车
就等待电脑自动下载安装

5、安装完成后输入命令:python -m weditor 会自动打开浏览器
浏览器页面如下:

更多推荐

Python安装uiautomator2下载安装教程,史上最详细