【问题标题】:Theano install warning: g++ not detectedTheano 安装警告:未检测到 g++
【发布时间】:2013-03-21 07:51:40
【问题描述】:

安装 Theano 后,我尝试运行它,但收到以下错误消息:

WARNING (theano.configdefaults): g++ not detected! Theano will be unable to execute 
optimized C-implementations (for both CPU and GPU) and will default to Python 
implementations. Performance will be severely degraded.

为什么?

【问题讨论】:

  • 因为你没有安装 GCC C++ 编译器?

标签: python g++ theano


【解决方案1】:

尝试安装g++ 编译器。

Python 相当慢,因此对于性能关键部分,您需要 C++ 等编译语言。

【讨论】:

    【解决方案2】:

    您可以尝试安装 mingw (http://www.mingw.org/),如此处发布的答案中所述 - theano g++ not detected

    【讨论】:

      猜你喜欢
      • 2016-11-05
      • 1970-01-01
      • 2016-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-08
      相关资源
      最近更新 更多