相关疑难解决方法(0)

导入theano时出错"无法导入名称gof"

我目前得到错误

ImportError:无法导入名称gof

当导入theano时.

>>> import theano

Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
    import theano
  File "C:\Python27\lib\site-packages\theano\__init__.py", line 63, in <module>
    from theano.compile import (
  File "C:\Python27\lib\site-packages\theano\compile\__init__.py", line 9, in <module>
    from theano.compile.function_module import *
  File "C:\Python27\lib\site-packages\theano\compile\function_module.py", line 16, in <module>
    from theano import gof
ImportError: cannot import name gof
Run Code Online (Sandbox Code Playgroud)

我正在使用python 2.7.10().Theano安装使用pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git.希望能得到你解决这个问题的建议

python-2.7 theano

9
推荐指数
2
解决办法
1万
查看次数

标签 统计

python-2.7 ×1

theano ×1