information_interchange
information_interchange

Reputation: 3128

How large is a fresh install of Python?

Been looking around, but can't find a hard and fast answer: how large exactly is an install of python, straight from here: https://www.python.org/downloads/

Edit: currently doing it on a unix system

Upvotes: 2

Views: 3743

Answers (2)

Akaisteph7
Akaisteph7

Reputation: 6506

I'm on Debian 11 (bullseye) with a mostly fresh Python install through pyenv, with no packages yet installed.

  • ncdu reports /home/stephane/.pyenv/versions/3.12.8 to take ~336MiB so ~352MB
  • About 80MiB of that seems to be from various __pycache__ folders though
  • So, Python 3.12.8 takes ~270MB

Trying to figure out the size of my ananconda install of Python seemed much more ambiguous as I already have a bunch of packages installed. But it obviously requires whatever extra packages are necessary for anaconda itself as well.


Summary of reports so far:

Version "Size" (MB)
3.12.8 270
3.6.1 232
3.4.2 65

Upvotes: 0

information_interchange
information_interchange

Reputation: 3128

232 megabytes for 3.6.1 (this is a local version that is fully functional) on ubuntu 14.04 and created canonically using

.configure 
make   
make install

etc.

(i.e. the instructions from the python docs)

Upvotes: 1

Related Questions