如何在site.cfg中启用更改

时间:2016-03-10 16:06:21

标签: python python-2.7 numpy

我正在使用WinPython 2.7,我遇到了numpy配置的麻烦。我的site.cfg是

[mkl]
include_dirs = C:/Program Files (x86)/Intel/Composer XE/mkl/include
library_dirs = C:/Program Files (x86)/Intel/Composer XE/mkl/lib/intel64;C:/Program Files (x86)/Intel/Composer XE/compiler/lib/intel64
mkl_libs = mkl_lapack95_lp64,mkl_blas95_lp64,mkl_intel_lp64,mkl_intel_thread,mkl_core,libiomp5md,libifportmd
lapack_libs = mkl_lapack95_lp64,mkl_blas95_lp64,mkl_intel_lp64,mkl_intel_thread,mkl_core,libiomp5md,libifportmd

但变量,负责blas是

blas_opt_info={'libraries': ['mkl_lapack95_lp64', 'mkl_blas95_lp64', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'libiomp5md', 'libifportmd'], 'library_dirs': ['C:/Program Files (x86)/Intel/Composer XE/mkl/lib/intel64'], 'define_macros': [('SCIPY_MKL_H', None)], 'include_dirs': ['C:/Program Files (x86)/Intel/Composer XE/mkl/include']}

因此缺少一条通向MKL库的路径。怎么解决?如何正确使用几个库pathes?如何在site.cfg中应用更改?

0 个答案:

没有答案