Skip to content

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

Answered by native-api
snooppr asked this question in Q&A
Discussion options

You must be logged in to vote
$ uname -a
Linux ubuntuvm 6.8.0-50-generic #51-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov  9 17:58:29 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble

$ pyenv versions --bare --skip-envs | xargs -n 1 pyenv prefix | xargs -I ARG find ARG/lib -type f -name libpython\*.so.\* | xargs du -sh
14M	/home/vmuser/.pyenv/versions/3.8.20/lib/libpython3.8.so.1.0
15M	/home/vmuser/.pyenv/versions/3.9.21/lib/libpython3.9.so.1.0
16M	/home/vmuser/.pyenv/versions/3.10.15/lib/libpython3.10.so.1.0
23M	/home/vmuser/.pyenv/versions/3.11.10/lib/libpython3.11.so.1.0
30M	/home/vmuser/.pyenv/version…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by snooppr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants