windows平台theano在安装gcc后出现error: '::hypot' has not been declared
2016-09-22 10:55
483 查看
解决方法:
1.安装TDM-GCC
2.在C:/Users/[用户名]目录下新建.theanorc.txt,然后加上
[gcc]
cxxflags = -shared -I"[TDM-GCC 路径]\include" -I"[TDM-GCC 路径]\x86_64-w64-mingw32\include"
3.安装mingw64,然后将[mingw64/bin]加入环境变量,TDM-GCC不要加入
如果出现:NameError:
global name 'CVM' is not defined
将 C:\Users\你的用户名\AppData\local\Theano下的缓存清除
1.安装TDM-GCC
2.在C:/Users/[用户名]目录下新建.theanorc.txt,然后加上
[gcc]
cxxflags = -shared -I"[TDM-GCC 路径]\include" -I"[TDM-GCC 路径]\x86_64-w64-mingw32\include"
3.安装mingw64,然后将[mingw64/bin]加入环境变量,TDM-GCC不要加入
如果出现:NameError:
global name 'CVM' is not defined
将 C:\Users\你的用户名\AppData\local\Theano下的缓存清除
相关文章推荐
- 安装opencv出现:cudalegacy/src/graphcuts.cpp:120:54: error: ‘NppiGraphcutState’ has not been declared
- 安装opencv出现:cudalegacy/src/graphcuts.cpp:120:54: error: ‘NppiGraphcutState’ has not been declared
- cmath:1157:11: error: '::hypot' has not been declared
- 编译opencv2.4.11时出现错误:error: ‘NppiGraphcutState’ has not been declared
- Cannot build gcc-4.4.3: fenv_t has not been declared
- ubuntu装opencv error: ‘NppiGraphcutState‘ has not been declared
- magento 安装时出现 There has been an error processing your request 错误解决方法
- Qt编译 error: ‘std::tr1’ has not been declared
- error: ‘std::memset’ has not been declared问题的解放办法
- 【COCOS2DX-ANDROID-游戏开发之十九】android编译之ctime:66: error: ‘::clock_t’ has not been declared
- cudalegacy/src/graphcuts.cpp:120:54: error: ‘NppiGraphcutState’ has not been declared
- 安装apache 时出现your system has not been modified的终极解决办法!
- 解决Basler相机在win7 64位系统安装不成功,报错:your system has not been modified! 以及报错:error 1722
- android sdk安装后出现location of the android sdk has not been setup in the preferences相关问题
- rosetta mpi编译时出现 MPI has not been declared 错误
- 2003安装Mysql出现“your system has not been modified..”解决方法