My Python version is 3.8.10 and my Windows version is Win11. When I compile to standalone exe with pyinstaller 6.0.0, the following error is generated:
Traceback (most recent call last): File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ win32comgenpy.py", line 46, in <module> File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_ win32comgenpy.py", line 25, in _pyi_rthook File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module File "win32com\__init__.py", line 8, in <module> File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module File "pythoncom.py", line 2, in <module> File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module File "pywintypes.py", line 126, in <module> File "pywintypes.py", line 116, in __import_pywin32_system_module__ ImportError: DLL load failed while importing pywintypes: The specified module could not be found. When I compile with pyinstaller 5.13.2 or below, no error is generated. I use the pywin32 module in my code, is there something wrong? -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/354d2a6a-1781-4393-8596-2db91f2ddae7n%40googlegroups.com.
