Oct-28-2024, 10:10 AM
I installed recently to full Python on my Windows 10 system.
As I noticed this installation requires huge 4,85 GB (!) disk space.
Ok, I still have 90 GB free on my 1 TB SSD. But I would feel better if it would be smaller.
Python is by far my biggest space consuming software on my disk/SSD.
I am thinking about how users can reduce disk space for Python.
Since I am not a heavy Python user but uses it only occasionally and only some packages I can think of the following mechanism:
All "site-packages" remain zipped until there are really imported in a Python script.
Only if a Python script runs which executes an import this (and only this !) package is extracted from *.zip archive.
Is this somehow possible?
As I noticed this installation requires huge 4,85 GB (!) disk space.
Ok, I still have 90 GB free on my 1 TB SSD. But I would feel better if it would be smaller.
Python is by far my biggest space consuming software on my disk/SSD.
I am thinking about how users can reduce disk space for Python.
Since I am not a heavy Python user but uses it only occasionally and only some packages I can think of the following mechanism:
All "site-packages" remain zipped until there are really imported in a Python script.
Only if a Python script runs which executes an import this (and only this !) package is extracted from *.zip archive.
Is this somehow possible?