我想在Windows上使用python 3.4安装theano。我下面这个指令Theano on WindowsTheano没有在Windows上运行
它创建一个文件名为Theano.egg链接内蟒蛇库/站点包
但试图调用进口theano
当我得到这个错误我用python setup.py develop
,它给了我这个窗口。这表明一切安装正常。任何帮助?
我想在Windows上使用python 3.4安装theano。我下面这个指令Theano on WindowsTheano没有在Windows上运行
它创建一个文件名为Theano.egg链接内蟒蛇库/站点包
但试图调用进口theano
当我得到这个错误我用python setup.py develop
,它给了我这个窗口。这表明一切安装正常。任何帮助?
这很可能是由redownloading the theano project固定。
正如你所看到的here,给你那个错误的代码不再在当前的代码库中。它现在看起来像这样
def dot(l, r):
"""Return a symbolic matrix/dot product between l and r """
rval = NotImplemented
e0, e1 = None, None
if rval == NotImplemented and hasattr(l, '__dot__'):
try:
rval = l.__dot__(r)
except Exception as e0:
rval = NotImplemented
if rval == NotImplemented and hasattr(r, '__rdot__'):
try:
rval = r.__rdot__(l)
except Exception as e1:
rval = NotImplemented
if rval == NotImplemented:
raise NotImplementedError("Dot failed for the following reasons:",
(e0, e1))
return rval
你是什么时候下载theano的?这个错误是不是在github当前版本 –
@TimCastelijns我刚刚下载theano ..使用'git克隆https://github.com/Theano/Theano.git --branch rel-0.7'评论 – jquery404