使用Anaconda的免费MKL库编译Scipy

时间:2017-04-22 13:42:58

标签: python scipy fortran anaconda intel-mkl

我正在尝试将Scipy从其在Github上的主分支安装到Windows 7中的Anaconda环境中。这需要从源代码编译Scipy。 Scipy can use MKL as its BLAS/LAPACK libraryAnaconda comes with free MKL now。我收到一条错误消息no lapack/blas resources found。如何告诉Scipy设置使用Anaconda MKL?

Anaconda内的全新安装说明:

conda create --name scipy_master python=3.6 numpy cython
activate scipy_master
pip install https://github.com/scipy/scipy/tarball/master

以下是错误的相关文字:

lapack_mkl_info:
    C:\Anaconda3\envs\scipy_master\lib\site-packages\numpy\distutils\system_info.py
        :655: UserWarning: Specified path C:/Anaconda3/envs/scipy_master\Library\lib is 
        invalid.
    return self.get_paths(self.section, key)
    C:\Anaconda3\envs\scipy_master\lib\site-packages\numpy\distutils\system_info.py
        :664: UserWarning: Specified path C:/Anaconda3/envs/scipy_master\Library\include is 
        invalid.
    return self.get_paths(self.section, key)
    libraries mkl_core_dll,mkl_intel_lp64_dll,mkl_intel_thread_dll not found in []
    NOT AVAILABLE

...

File "scipy\linalg\setup.py", line 20, in configuration
    raise NotFoundError('no lapack/blas resources found')
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

0 个答案:

没有答案