首页 > 其他 > 详细

[轉載] AttributeError: module 'comtypes.gen.UIAutomationClient' has no attribute 'IUIAutomation'

时间:2019-11-30 12:15:38      阅读:675      评论:0      收藏:0      [点我收藏+]

原作者:   程小丽   

原文鏈接:https://blog.csdn.net/qq_30016059/article/details/102797911

 

使用 Pyinstaller 打包 導入Uiautomation的python 文件,在某些計算機上運行時出現  "AttributeError: module ‘comtypes.gen.UIAutomationClient‘ has no attribute ‘IUIAutomation‘ ",此問題一直未解決,在看到原博客后解決,解決方法 

from comtypes.gen.UIAutomationClient import *

安裝comtypes(因已安裝,未驗證是否相關) ,重新打包 ,問題解決

[轉載] AttributeError: module 'comtypes.gen.UIAutomationClient' has no attribute 'IUIAutomation'

原文:https://www.cnblogs.com/jyang/p/11961778.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!