PyInstaller with Pandas creates over 500 MB exe

后端 未结 6 1199
栀梦
栀梦 2020-12-08 05:39

I try to create an exe file using PyInstaller 3.2.1, for test purpose I tried to make an exe for following code:

import pandas as pd
print(\'hello world\')
<         


        
6条回答
  •  無奈伤痛
    2020-12-08 06:24

    This is probably because the Anaconda version of numpy is built using mkl.

    If you want to reduce the size of the distributable, you could work with a seperate building virtual environment with the packages installed through pip instead of conda

提交回复
热议问题