今天想学习下uiautomator2 模块,但是第一步就卡住了,python3 -m uiautomator2 init 初始化的时候报错了,报错信息如下
python3 -m uiautomator2 init 报错解决
主要是 ConnectionRefusedError: [Errno 61] Connection refused 连接被拒绝。
解决办法 卸载原来的uiautomator2 模块 重新安装 然后在执行 python3 -m uiautomator2 init

问题解决
卸载

pip3 uninstall   uiautomator2

python3 -m uiautomator2 init 报错解决

重装

 pip3 install --pre uiautomator2 

python3 -m uiautomator2 init 报错解决
最后

 python3 -m uiautomator2 init

python3 -m uiautomator2 init 报错解决

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2021-10-13
  • 2022-02-04
  • 2021-09-20
  • 2021-08-08
  • 2021-08-20
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
  • 2021-06-07
相关资源
相似解决方案