当 运行 theano.test() 在 Canopy Python 中时,模块对象没有属性 'fblas' 错误

module object has no attribute 'fblas' error when running theano.test() in Canopy Python

我无法在 Enthought canopy Python 的系统中安装 Theano 运行ning。当我输入 import theano 和 test 运行 时,出现以下错误。

导入 blas 文件“/Users/rajesh/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/theano/tensor/blas.py”,第 135 行,位于 numpy.dtype('float32'):scipy.linalg.blas.fblas.sgemv, AttributeError: 'module' 对象没有属性 'fblas'

你能指导我解决这个问题的方向吗?

这可能是因为您安装了旧版本的 Theano 软件包。尝试通过 pip install theano.

升级或安装最新版本