Python Forum
why: pyinstaller generates a different exe file every time
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why: pyinstaller generates a different exe file every time
#1
Hi
I am generating an windows EXE file from my python code for a while.
Today I wanted to check if the executable is binary identaical if I call pyinstaller twice as a clean build.
No the exe files are not identical. With out this I cant be sure that my EXE file is reproducable.
is there a way to enforce that?

Thx
Reply
#2
Have you tried this: https://github.com/pyinstaller/pyinstall...-156732766

And if you read the docs, you'll find this: https://pyinstaller.org/en/stable/advanc...ible-build
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Errors during run .exe file generated with Pyinstaller BushyAxis793 4 5,609 Mar-25-2025, 05:57 PM
Last Post: BushyAxis793
  Executable file compiled by PyInstaller does not work on Windows 7 amusaber 1 4,583 Jul-11-2024, 02:59 PM
Last Post: DeaD_EyE
  Using pyinstaller with .ui GUI files - No such file or directory error diver999 3 11,602 Jun-27-2023, 01:17 PM
Last Post: diver999
  unittest generates multiple files for each of my test case, how do I change to 1 file zsousa 0 2,178 Feb-15-2023, 05:34 PM
Last Post: zsousa
  Pyinstaller distribution file seems too large hammer 4 6,414 Mar-31-2022, 02:33 PM
Last Post: snippsat
  Check last time file was accessed Pavel_47 4 5,016 Jun-01-2021, 05:47 PM
Last Post: Yoriz
  problem with pyinstaller to create an executable file atlass218 0 4,041 May-15-2021, 11:01 AM
Last Post: atlass218
  find the header location in a .bin file without reading the whole file at a time SANJIB 0 3,372 Mar-05-2021, 04:08 PM
Last Post: SANJIB
  Naming the file as time and date. BettyTurnips 3 6,154 Jan-15-2021, 07:52 AM
Last Post: BettyTurnips
  how to change the range of read CSV file every time python file runs greenpine 6 8,314 Dec-08-2020, 10:11 PM
Last Post: greenpine

Forum Jump:

User Panel Messages

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