theano g ++未检测到 [英] theano g++ not detected

查看:190
本文介绍了theano g ++未检测到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 theano 但是当我尝试使用它时,我得到了这个错误:


警告(theano.configdefaults):g ++未检测到! Theano将无法执行
优化的C实现(对于CPU和GPU),并将默认为Python
实现。性能会严重下降。


我安装了 g ++ ,并把正确的路径在环境变量,所以它就像 theano 没有检测到它。



有谁知道如何解决问题或可能是什么原因?

解决方案

我在更新XCode之后在OS X上发生了这种情况(通过App Store )。在更新之前一切正常,但更新之后,我必须启动XCode并接受许可协议。然后,所有的工作再次。

I installed theano but when I try to use it I got this error:

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.

I installed g++, and put the correct path in the environment variables, so it is like theano does not detect it.

Does anyone know how to solve the problem or which may be the cause?

解决方案

I had this occur on OS X after I updated XCode (through the App Store). Everything worked before the update, but after the update I had to start XCode and accept the license agreement. Then everything worked again.

这篇关于theano g ++未检测到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆