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
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