Skip to content Skip to sidebar Skip to footer

Python App Not Working After Using Pyinstaller But Doesn't Give Any Errors

So I made an app using python and kvlang, and I was trying to get all the files into a one standalone 'exe' file. I needed to include the '.kv' file and my main script. I was using

Solution 1:

Not sure why it doesn't work, but run the exe in command prompt and then when it fails the error message will not disappear.

Add lots of logs to your application, these can be print statements, as those will always end up on stdout.

i.e. on the first entrypoint, print("Running main") When you call your first function: print('calling function_name()')

Once that has finished

print('function_name() complete')

And so on and so forth until you find where exactly the program stops functioning.

Start -> cmd -> navigate to your file using cd -> type in the name of the exe to run it.

Post a Comment for "Python App Not Working After Using Pyinstaller But Doesn't Give Any Errors"