红联Linux门户
Linux帮助

theano:ImportError: numpy.core.multiarray failed to import

发布时间:2016-03-11 15:27:29来源:linux网站作者:山石

用theano运行程序的时候,出现如下错误:

theano:ImportError: numpy.core.multiarray failed to import

“ImportError: numpy.core.multiarray failed to import”


此时,import scipy 会提示numpy版本太低,于是重新升级numpy:

pip install -U numpy

此时发现numpy的版本已经由1.4.1升级到了1.10.1.再次运行程序发现没有报错。


本文永久更新地址:http://www.linuxdiyf.com/linux/18824.html