mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 04:05:49 +03:00
[GH-ISSUE #287] conversion to .exe unsuccessful, bootloader error #250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mayankdhami on GitHub (Jul 19, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/287
Hi @brentvollebregt :)
I have a tkinter GUI based app in a single .py file, but when I am trying to convert it to .exe using 'Console mode' in auto-py-to-exe, it runs but it is just giving me a flashing command prompt for 1 sec. I tried making .exe in 'Window mode' which I read is ideal for GUI apps, it gives me this error:
Any ideas what could be going wrong?
@brentvollebregt commented on GitHub (Jul 19, 2022):
Have you read the help page and followed the debugging steps - what did you find from that?
Also did you follow the link that is in your screenshot to investigate the missing bootloader? I imagine you took a look before creating this issue, what issues did you run into?
@mayankdhami commented on GitHub (Jul 19, 2022):
Thanks for replying! I did follow the steps in debugging, and tried checking in cmd. It generates the executable, but when I run it, it gives me this error in the very first import.
From there, I moved to debug step:
ModuleNotFoundError: No module named x / ImportError: No module named x
Machine 1:

Machine 2:

Sorry for bad image quality!
@brentvollebregt commented on GitHub (Jul 20, 2022):
Can you validate for me that auto-py-to-exe and matplotlib are installed in the Python installation you expect.
You can run these to show me:
You can paste the full output here.
@mayankdhami commented on GitHub (Jul 20, 2022):
I got this when I run these!
Sorry, I had this problem for a while and I lost the documentation of screens which I made last time. So, I did it again and it took some time.
Thanks for helping out.
My .exe works, thanks a ton!