我用python制作了exe文件。
我正在使用以下命令:
pyinstaller --windowed --onfile gui.py
但是当我执行gui.exe
时,它崩溃了:
Problem signing:
Problem Event Name: APPCRASH
Application name: gui.Exe
Application version: 0.0.0.0
Application timestamp: 5a2e9fe6
Error Module Name: **ucrtbase.DLL**
Error Module Version: 10.0.10586.78
Error Module Timestamp: 5879aa7b
Exception Code: 40000015
Exception Offset: 0008469a
OS version: 6.1.7601.2.1.0.256.4
Locale ID: 1042
Additional Information 1: f997
Tip 2: f997d3aa488aa2577b4933f22e55cb2d
Tip 3: 6403
Tip 4: 640395134c67d4ec87d3c630dcc2b585
为什么会这样?我该如何解决这个问题?
答案 0 :(得分:0)
我找到了答案。是对的吗?
https://github.com/pyinstaller/pyinstaller/issues/3615
尚不支持Python 3.7。另请参见手册https://pyinstaller.readthedocs.io/en/v3.3.1/usage.html?#windows