Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyinstaller --onefile
#7
(Jun-24-2021, 07:42 AM)mhzr Wrote:
(Jun-24-2021, 07:18 AM)buran Wrote: this is not very descriptive. What error do you get when you run the exe from cmd? I would guess there is missing imports (i.e. some of the third-party packages is not included with the bundle).

I don't get any error. what I see is the exe is running for unlimited long time and never closes until I close it.
How can I find which module is not included , I mean How I can find a debug log or such log to clear the problem?
Thank You
You can't see anything about what was included with the --onefile option. You need to use the standard method of building to a folder first so you can ensure that all the imports were handled properly.

https://pyinstaller.readthedocs.io/en/st...o-one-file

I haven't used pyinstaller much in the past but have a couple big(ish) projects I'm about to try it on. See what you get using the folder method and if you still can't figure it out I'll try building your code too. I don't see anything problematic in your code except maybe the Windows IIS stuff.
"So, brave knights, if you do doubt your courage or your strength, come no further, for death awaits you all with nasty, big, pointy teeth!" - Tim the Enchanter
Reply


Messages In This Thread
pyinstaller --onefile - by mhzr - Jun-24-2021, 06:38 AM
RE: pyinstaller --onefile - by buran - Jun-24-2021, 06:55 AM
RE: pyinstaller --onefile - by mhzr - Jun-24-2021, 07:01 AM
RE: pyinstaller --onefile - by buran - Jun-24-2021, 07:18 AM
RE: pyinstaller --onefile - by mhzr - Jun-24-2021, 07:42 AM
RE: pyinstaller --onefile - by Marbelous - Jun-24-2021, 05:56 PM
RE: pyinstaller --onefile - by buran - Jun-24-2021, 09:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PyInstaller OneFile felixS_zema 4 6,066 Oct-09-2019, 01:02 PM
Last Post: felixS_zema

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020