Reputation:
se additional windows are not loaded and not working properly. Looks like they are ignored in the conversion process.
I have to say that my program runs smoothly in pycharm so there is no error in the code.
I couldn't find anything relevant in my google search.
[![enter image description here][1]][1]
Upvotes: 2
Views: 108
Reputation: 15098
There could be many reasons as to why this happens, the one likely is the code execution got halted because there is an error in the code. But since you don't have any interface to view the error, it is not seen. So change your pyinstaller
code to:
pyinstaller file.py
Now the exe will open with a terminal. Inside that terminal you will see the error code. Since in your case, it says error about ico, you need to place all the required dependencies of your code in the same directory as the exe is. So once you copy the ico file on to the project directory, or if it was some other issue, after solving it you can use your original pyinstaller
code and get rid of the console.
Upvotes: 2