mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-27 04:35:50 +03:00
[GH-ISSUE #86] Getting unknown Error EXE - http://python.org/dev/peps/pep-0263/ for details #82
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 @sameerCoder on GitHub (Feb 5, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/86
Hi ,
I have simple tkinter gui py code for which i am making Exe , Exe made successfully even extra module like pandastable also embedded perfectly but i have size issue -
1- My EXE folder is of memory 900 MB which is very huge as my script is of kb only .
Isn't there any way to reduce the exe folder size ?
@brentvollebregt commented on GitHub (Feb 6, 2020):
This is more of a PyInstaller feature rather than an auto-py-to-exe issue.
Setup a new virtual environment and install only the packages you need. Then use auto-py-to-exe in this environment and see if you get a different build size; I am guessing you might have a large list of installed modules which are being unnecessarily added.
Also how is that title related to your description?
@sameerCoder commented on GitHub (Feb 6, 2020):
Hi Brentvollebregt,
Thanks for such a quick response . isn't there any way I can delete un
required modules so that my file exe file folder has less memory size .
thank you.
On Thu, 6 Feb 2020, 8:05 a.m. Brent Vollebregt, notifications@github.com
wrote:
@brentvollebregt commented on GitHub (Feb 7, 2020):
You can exclude them using the
--exclude-moduleinput; you need to know the modules to exclude first.Did you create a new environment and package as I described before? Will help identify that this is the problem. (Not actually a problem with auto-py-to-exe in this case)
@sameerCoder commented on GitHub (Feb 7, 2020):
HI Brentvollebregt ,
I have created env as suggested by you . size is less but if same exe if i
want to run on different linux machine how i can do that ?
Do i have to installed the required modules and then run the exe . I am
trying to run on different linux machine then i am getting Error
[accountname@iitmlogin4 walps2_pandastable]$ ./walps2_pandastable
Traceback (most recent call last): File "walps2_pandastable.py", line 73,
in File "walps2_pandastable.py", line 2, in functionwork File
"/home/username/anaconda3/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py",
line 623, in exec_module File "tkinter/init.py", line 36, in
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found
(required by
/path/swan/AdcirSwan/TamilNadu/CoupledModel/walpscouplemodel/PYthon_Exe/walps2_pandastable/./libX11.so.6)[11080]
Failed to execute script walps2_pandastableHOW i can run by EXE on another
linux machine / HPC ?
Thank you.
On Fri, 7 Feb 2020 at 09:34, Brent Vollebregt notifications@github.com
wrote:
@brentvollebregt commented on GitHub (Feb 7, 2020):
Where did you build this binary and where are you executing it?
@sameerCoder commented on GitHub (Feb 8, 2020):
Hi,
Thanks for quick reply ,
I am trying to run on different linux machine then i am getting Error
[accountname@iitmlogin4 walps2_pandastable]$ ./walps2_pandastableTraceback
(most recent call last): File "walps2_pandastable.py", line 73, in
File "walps2_pandastable.py", line 2, in functionwork File
"/home/username/anaconda3/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py",
line 623, in exec_module File "tkinter/init.py", line 36, in
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found
(required by
/path/swan/AdcirSwan/TamilNadu/CoupledModel/walpscouplemodel/PYthon_Exe/walps2_pandastable/./libX11.so.6)[11080]
Failed to execute script walps2_pandastableHOW i can run by EXE on another
linux machine / HPC ?
Thank you.
On Sat, 8 Feb 2020, 3:27 a.m. Brent Vollebregt, notifications@github.com
wrote:
@brentvollebregt commented on GitHub (Feb 9, 2020):
It seems that whatever module you are using, libgcc is required. You are running this on a machine where GLIBC_2.14 is not available.
@sameerCoder commented on GitHub (Feb 10, 2020):
Hi ,
Fine , i will installed GLIBC_2.14 into the machine and let you know
its working fine or not . Thank you.
On Sun, 9 Feb 2020 at 08:48, Brent Vollebregt notifications@github.com
wrote:
@brentvollebregt commented on GitHub (May 14, 2020):
There has been no further discussion on this issue for more than three months now so I'm assuming that this has been resolved and will close the issue.