When I run pyinstaller for such a simple script sam.py
as below, the package size is worth 1.6 GB...How do we justify sharing this big file to someone ? Is it normal ?
import pandas as pdd = pd.read_csv("~/a.csv")cols = ['a', 'b']d[cols].to_csv("~/new.csv", index = False)
Package size1.6G _internal48M sam
The package was generated with the spec file with the command pyinstaller sam.spec
where the spec file was generated using pyinstaller sam.py
and later edited to increase recursion limit to resolve related issues
# -*- mode: python ; coding: utf-8 -*-import syssys.setrecursionlimit(5000) # Increase recursion limit
The _internal
package shows the following large files:
126M libLLVM-14.so95M botocore72M libmkl_core.so.265M libmkl_avx512.so.263M libmkl_intel_thread.so.252M libmkl_avx.so.249M libmkl_mc3.so.249M libmkl_avx2.so.248M libmkl_mc.so.242M libmkl_tbb_thread.so.241M libmkl_def.so.238M libmkl_pgi_thread.so.234M libarrow.so.140031M libpython3.12.so.1.031M libmkl_gnu_thread.so.231M libicudata.so.7331M bokeh31M babel29M libmkl_sequential.so.224M PyQt523M pyarrow23M pandas22M libmkl_intel_lp64.so.218M libstdc++.so.6.0.2918M libmkl_intel_ilp64.so.218M libmkl_gf_lp64.so.217M libomptarget.rtl.level0.so16M libmkl_vml_avx.so.216M libmkl_rt.so.216M lib-dynload