>>> import numpy # OK!
>>> import scipy # OK!
>>> import theano # warning
WARNING (theano.tensor.blas): Failed to import scipy.linalg.blas, and Theano
flag blas.ldflags is empty. Falling back on slower implementations for
dot(matrix, vector), dot(vector, matrix) and dot(vector, vector) (DLL load
failed: Belirtilen modül bulunamadı.)
>>>
导入 theano 时,python 给出了这个警告。
我根据此链接设置 theano。 http://deeplearning.net/software/theano/install_windows.html
Numpy 和 Scipy 导入没问题。但我被 BLAS 困住了。?
我从 github 克隆到我的计算机 OpenBLAS。
我如何将 blas 添加到环境变量(“路径”)?
请您参考如下方法:
显然你有来自 scipy.linalg.blas 的错误,尝试从
, 要安装 scipy 请确保你已经安装
numpy+mkl
您可以在 http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy 上找到它
您提到的另一个问题是未检测到 g++ 编译器,theano 需要 g++(Linux 和 Windows)才能编译生成的 C 代码。
(只是谷歌它深度学习 theano 设置可能会有所帮助)。
安装MinGW的教程部分:
sh /postinstall/pi.sh
在 mysy 中,您刚刚安装 MinGW 的方向应该是 C:/Program/mingw-w64/mingw64
(取决于安装方向)