Packaging My Quizz Game Application

Hello Everyone, Hope you are all well. I have been building a quiz application using PyQt6 with the Open Trivia DB API. The code works fine, however when I follow the packaging instruction located below I run into an error. I building the app and the exe file is located in the dist folder. When I double click the exe file it opens and crashes right away.

The follwing window pops up when I click on the exe file in the dist folder.

I tried to rebuild the app using the - - onefile command. I then tried to run this and this opens and closes without any feedback. I would be greatful if someone can assist me.

You can include your QwizeGame.ui file , in your spec file.

Analysis( # other arguments
data=/path/to/QwizeGame.ui)

See Using Spec Files — PyInstaller 6.18.0 documentation

Hi noushadali,

Thank you for getting back to me. I have not solved this issue.

Many Thanks