测试脚本-ceshi6.py:
import uiautomator2 as u2
d = u2.connect('192.168.1.122')
打包脚本: import os
with os.popen(r'pyinstaller -F ceshi6.py', 'r') as f: text = f.read()
pycharm 运行脚本正常
执行打包后的exe执行文件出现错误:
q 920823455
https://blog.csdn.net/weixin_39540280/article/details/85249816http://blog.sina.com.cn/s/blog_a60b1c3c0102xqzw.html