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

相关