I wrote a script using andaconda2 python2.7, and wxpython, matplotlib, skimage, numpy. After using pyinstaller to generate an executable files. the total size is almost 700 mb. it feels too large. Someone said because numpy uses MKL which is very large ~ 400 mb as I saw in folder. so I wonder how to create an environment using numpy nomkl? Or if anyone has experience to reduce the size of executable files using pyinstaller, please let me know. BTW, I tried py2exe. it creates a much smaller folder, but somehow the exe doesn't work.
Thanks!
I think the canonical way would be:
But depending on your OS, it might be possible that there is no nomkl distribution available (windows?).
Example-quote from here:
Some more relevant discussion might be this
Edit: official blog-post pointing out: the nomkl package is not available on Windows (2/2016)
Edit 2: And even Gohlke nowadays only provide MKL-based windows-binaries.
Edit 3: So if all you need is a numpy-distribution without MKL, you can use these official wheels which are linked against OpenBLAS instead of MKL.
In general you can create a new env:
There are two problems still:
There is some discussion here.
It might be advisable to not use anaconda for this very specific use-case if you are able to install your remaining dependencies. Scipy (usually the most pain) now has windows-builds (1.0 beta).