The win32ui module could not initialize the application object

pyinstaller -F .py  -->打包后exe文件运行报错,
==============================================
RuntimeError: The win32ui module could not initialize the application object. [26560] Failed to execute script test

==================================

 

==》pywinauto 版本300 与py36不兼容,

解决方案:

卸载重装pywin32

pip uninstall pywin32
pip uninstall pywin32==223
posted @ 2021-01-13 16:08  小毛编  阅读(544)  评论(0编辑  收藏  举报