The gigantic size of "libpython3.X.so.1.0" can you check? Please tell me what version of Python you have and how much the file weighs #3185
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
snooppr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OS GNU/Linux.
I have native python 3.8.7 (apt install), its "libpython3.8.so.1.0" is ~5Mb.
If I install python with "pyenv", for example "python3.8.20", the size of "libpython3.8.so.1.0" is ~19Mb!
If I install python with "pyenv", for example "python3.11.11", the size of "libpython3.11.so.1.0" is ~36Mb!
If I install python with "pyenv", for example "python3.12.", the size of "libpython3.12.so.1.0" is ~44Mb!.
I tried compiling Python with different flags:
"env PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto' pyenv install 3.8.20" does not help, the size is a disaster.
The problem is that the compiled project via Pyinstaller with each new version of Python due to the gigantic size of "libpython3.X.so.1.0" starts slower (unpacking and increasing the size).
Please, users, look at the size of their "libpython3.X.so.1.0" on their GNU/Linux and write (since I expect the file to be up to 10 MB, not tens of MB).
Please tell me what version of Python you have and how much the file weighs: "/home/user/.pyenv/versions/3.X.X/lib/libpython3.X.so.1.0" ?
Beta Was this translation helpful? Give feedback.
All reactions