【发布时间】:2017-04-02 23:53:11
【问题描述】:
我正在尝试在我的 Windows 7 x64 机器上安装 Theano。我遵循了大约 5 个不同的教程来尝试正确安装它。其中一些在这些链接中:
http://deeplearning.net/software/theano/install_windows.html
在 Kaggle 网站上,我尝试了 Anaconda 和 WinPython 的建议……我尝试过使用 Python 2.7 和 3.5……我做什么似乎并不重要;我在运行时不断收到以下错误
import theano
在我的python环境中:
...
^~~~~;mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev1/mingw64/lib/gcc/x86_64-w64-mingw32/6.2.0/include/c++/cmath:1133:11: error: '::hypot' has not been declared\mod.cpp:1:/c++/math.h:36:0,
这是我第一次尝试导入 theano 时得到的。如果我在同一会话中再次尝试,我会得到
...
from theano import config, gof
ImportError: cannot import name gof
我发现this other question on stackoverflow 似乎是我安装了旧版本的 Theano 导致了问题。我已经跑了
pip uninstall theano
它不再安装。还有其他方法可以卸载我缺少的吗?还是我有其他问题?
【问题讨论】:
标签: python windows installation theano