[PyInstaller] pyinstaller 6.0.0 ImportError: DLL load failed

2023-10-09 Thread Jason Yu
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 File

[PyInstaller] Problems arising from pyinstaller and cgitb

2023-08-21 Thread Jason Yu
Hello, I'm using python 3.8.10, and I'm using cgitb in my code. import cgitb path = "my path" cgitb.enable( display=0, logdir=path, context=12, format="text" ) If the code is abnormal, a txt file is generated. When I compile to a separate exe file with the latest pyinstaller and use the parameter