我用 nuikta 打包成 exe 工具,因为要用到 comtypes 的原因,加上了--include-package=comtypes --include-package=comtypes.client --include-package=comtypes.gen ,打包成的 exe 工具在本地运行可以,但是在一个全新机器上就会出现 omtypes\gen_944DE083_8FB8_45CF_BCB7_C477ACB2F897_0_1_0.py", line 9204, in <module> \comtypes_tlib_version_checker.py", line 18, in _check_version ImportError: Typelib different than module ,然后我在代码里指定了 comtypes.gen_dir = COMTYPES_GEN_DIR ,还是不行,有没有大佬遇到过这种情况,求指教