Win10 Anaconda3 + theano + keras 错误解决

我只是想用上theano后端的keras啊,就因为选了py3.6.2就眼瞎地碰了一圈壁T T。最后是换用py3.4环境用了theano0.9.0。

原来配置场景:

用anaconda3 py3.6.2的环境直接conda intall mingw libpython, conda install theano后先用theano,import theano 没错,但theano.test()有一堆的futurewarning和waring和error。再install keras,跑model.add()的时候,会报下面的错误。

错误

AttributeError: (‘The following error happened while compiling the node’, DotModulo(A, s, m, A2, s2, m2), ‘\n’, “module ‘numpy.core.multiarray’ has no attribute ‘_get_ndarray_c_version’”)

查看了一下各类版本如下:
numpy:1.16.2
keras:2.2.4
theano:0.9.0
后来又试了theano-1.0.3与numpy1.16.*,numpy1.11.*的组合,发现都不行,这个报的错出在mingw,是关于要64位mingw的错误,但我也把.theanorc.txt配置引向了anaconda3\mingw,按理说是可以的,但,emmmm…就是不行。

错误原因

后来仔细看了下theano0.9的文档

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值