[GH-ISSUE #86] Getting unknown Error EXE - http://python.org/dev/peps/pep-0263/ for details #82

Closed
opened 2026-02-26 12:20:25 +03:00 by kerem · 9 comments
Owner

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 ?

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 ?
kerem closed this issue 2026-02-26 12:20:25 +03:00
Author
Owner

@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?

<!-- gh-comment-id:582708524 --> @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?
Author
Owner

@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:

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?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJZCMY2HMQ5ERTQ3I5DRBNZQPA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK5W2LA#issuecomment-582708524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJK6LJ2HYLPHUVEIRKZPJP3RBNZQPANCNFSM4KQINJ5A
.

<!-- gh-comment-id:582712019 --> @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: > 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? > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJZCMY2HMQ5ERTQ3I5DRBNZQPA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK5W2LA#issuecomment-582708524>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AJK6LJ2HYLPHUVEIRKZPJP3RBNZQPANCNFSM4KQINJ5A> > . >
Author
Owner

@brentvollebregt commented on GitHub (Feb 7, 2020):

You can exclude them using the --exclude-module input; 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)

<!-- gh-comment-id:583224501 --> @brentvollebregt commented on GitHub (Feb 7, 2020): You can exclude them using the `--exclude-module` input; 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)
Author
Owner

@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:

You can exclude them using the --exclude-module input; 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)


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJ23CE5YEID6VMPEGILRBTMUBA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELBUZNI#issuecomment-583224501,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJK6LJ2N6UFS2ZCZAFVYRCDRBTMUBANCNFSM4KQINJ5A
.

<!-- gh-comment-id:583242239 --> @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 <module> 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 <module>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: > You can exclude them using the --exclude-module input; 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) > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJ23CE5YEID6VMPEGILRBTMUBA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELBUZNI#issuecomment-583224501>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AJK6LJ2N6UFS2ZCZAFVYRCDRBTMUBANCNFSM4KQINJ5A> > . >
Author
Owner

@brentvollebregt commented on GitHub (Feb 7, 2020):

Where did you build this binary and where are you executing it?

<!-- gh-comment-id:583633385 --> @brentvollebregt commented on GitHub (Feb 7, 2020): Where did you build this binary and where are you executing it?
Author
Owner

@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:

As noted in PyInstallers FAQ
https://github.com/pyinstaller/pyinstaller/wiki/FAQ#frequently-asked-questions,
PyInstaller is not a cross-compiler. So to get the project running on a
Linux machine, you will need to have Python set up and modules installed so
you can run the project. You can then package the script on Linux so you
can distribute for Linux machines.

What error are you gettting?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJZWMFEJTR43GBLBCVTRBXKOPA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELEYT2I#issuecomment-583633385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJK6LJ5ZWPHQTTLOK2OTYWDRBXKOPANCNFSM4KQINJ5A
.

<!-- gh-comment-id:583727540 --> @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 <module> 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 <module>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: > As noted in PyInstallers FAQ > <https://github.com/pyinstaller/pyinstaller/wiki/FAQ#frequently-asked-questions>, > PyInstaller is not a cross-compiler. So to get the project running on a > Linux machine, you will need to have Python set up and modules installed so > you can run the project. You can then package the script on Linux so you > can distribute for Linux machines. > > What error are you gettting? > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJZWMFEJTR43GBLBCVTRBXKOPA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELEYT2I#issuecomment-583633385>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AJK6LJ5ZWPHQTTLOK2OTYWDRBXKOPANCNFSM4KQINJ5A> > . >
Author
Owner

@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.

<!-- gh-comment-id:583800333 --> @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.
Author
Owner

@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:

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.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJ6TKUT6YAA52CJGQSDRB5Y2BA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELGBMDI#issuecomment-583800333,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJK6LJZDYO5FI3HZ6ZNVP3TRB5Y2BANCNFSM4KQINJ5A
.

<!-- gh-comment-id:583962597 --> @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: > 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. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/brentvollebregt/auto-py-to-exe/issues/86?email_source=notifications&email_token=AJK6LJ6TKUT6YAA52CJGQSDRB5Y2BA5CNFSM4KQINJ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELGBMDI#issuecomment-583800333>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AJK6LJZDYO5FI3HZ6ZNVP3TRB5Y2BANCNFSM4KQINJ5A> > . >
Author
Owner

@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.

<!-- gh-comment-id:628578944 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#82
No description provided.