• python pyinstaller 打包exe uiautomato
  • python

测试脚本-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执行文件出现错误:


  • vicky    2020-04-16 16:14:29
  • 阅读 990    收藏 0    回答 1
  • 邀请
  • 收藏
  • 分享
发送
登录 后发表评论
  • 51testing软件测试圈微信