Theano 未 运行 Windows

Theano not running on Windows

我正在尝试使用 python 3.4 在 windows 上安装 theano。我正在按照此说明进行操作 Theano on Windows

它在 python Lib/site-packages[=31 中创建一个名为 Theano.egg-link 的文件=]

但我在尝试调用 import theano

时遇到此错误

我用了 python setup.py develop,它给了我这个 window。这表明一切安装正常。有帮助吗?

这很可能会被 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