我创建了一个
hook-numpy.py来解决这个问题:
from PyInstaller import log as logging from PyInstaller import compatfrom os import listdirlibdir = compat.base_prefix + "/lib"mkllib = filter(lambda x : x.startswith('libmkl_'), listdir(libdir))if mkllib <> []: logger = logging.getLogger(__name__) logger.info("MKL installed as part of numpy, importing that!") binaries = map(lambda l: (libdir + "/" + l, ''), mkllib)就我而言,
conda正在安装mkl库以加快
numpy和速度
scipy。



