Aug-26-2024, 07:16 AM
Hi,
My app slowly evolves into new versions, never any big changes.
I then proceed to make a new exe, always in the same manner:
Today, i saw that the filesize of the exe was over 500 mb.
I had noticed a lot of comments about tensorflow in the verbose
pyinstaller analysis. There is no tensorflow import in the app !
So I proceded to pip uninstall every pckage that had the word "tensor" in it,
and ran the pyinstaller again. This time the size was only 200mb.
Still a lot more than I expect. But, everything is working fine.
Where do I start to analyse what unnecessary elements pyinstaller is
incorporating into the app exe ?
thx,
Paul
My app slowly evolves into new versions, never any big changes.
I then proceed to make a new exe, always in the same manner:
Output: pyinstaller --clean --onefile --windowed VVX-V6.py
I always get the approx same filesize for the exe: +/- 102 mb.Today, i saw that the filesize of the exe was over 500 mb.
I had noticed a lot of comments about tensorflow in the verbose
pyinstaller analysis. There is no tensorflow import in the app !
So I proceded to pip uninstall every pckage that had the word "tensor" in it,
and ran the pyinstaller again. This time the size was only 200mb.
Still a lot more than I expect. But, everything is working fine.
Where do I start to analyse what unnecessary elements pyinstaller is
incorporating into the app exe ?
thx,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.