Pyinstaller automatically includes unneeded modules

后端 未结 2 1815
不思量自难忘°
不思量自难忘° 2021-01-05 01:15

I am trying to create a .exe from a very simple script that I have written. The script only include glob and pandas. But pyinstaller is including matplotlib,numpy,scipy,qt4,

2条回答
  •  伪装坚强ぢ
    2021-01-05 01:40

    Not sure if this really counts as a solutions. But by ignoring winpython all together and using a standard installation of python that only had pip installs of pyinstaller and pandas added to it I was easily able generate a functional .exe that was 18MB. I guess it had something to do with winpython.

提交回复
热议问题