Reputation: 31
I am using Python 3.7.0 with tkinter to create an executable GUI
I've tried PyInstaller to create the executable GUI it does't throw an error but when I run the program windows shows an error message.
When I click show problem details this is what it shows:
Problem Event Name: APPCRASH
Application Name: Jpeg-Raw_WizardGUI.exe
Application Version: 0.0.0.0
Application Timestamp: 5a2e9f94
Fault Module Name: ucrtbase.DLL
Fault Module Version: 10.0.10240.16390
Fault Module Timestamp: 55a5bf73
Exception Code: 40000015
Exception Offset: 0007d85a
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
Additional Information 1: c89f
Additional Information 2: c89f96664d7d2cd53e94623624561d56
Additional Information 3: 25d2
Additional Information 4: 25d26db9b8f08829e05b4d3e158d5678
I've tried searching online and have not found a solution
Thanks in advance
Upvotes: 0
Views: 2856
Reputation: 7303
As I answered here.You are using python 3.7
. As far as I have tested , modules like pyinstaller
and cx_Freeze
don't seem to be working in this version. Try uninstalling your python 3.7 (don't forget to backup your files before), and installing python 3.6.3
or any other python 3
version except python 3.7
.
In comments, you said that windows doesn't throw an error anymore but instead of a GUI window opening a console window opens for a second and then closes
. Well, changing the version worked but now it is problem either with your program or with pyinstaller
. You can use my Python Executable File Maker
and let me know if it works fine or throw any error or shows improper behavior.
Upvotes: 1