WARNING (theano.configdefaults): g++ not detected !

在Windows环境下使用Python3.6.5时,导入Theano库出现g++未检测到的警告,导致性能下降。尝试安装mingw64并配置环境,但遇到编译错误。最终通过安装Anaconda并设置环境解决该问题。
摘要由CSDN通过智能技术生成

python环境真是超级难搭!折腾了我好久啊啊啊。。  促使我每次解决完问题非常想写出来,让和我遇到同样情况的小伙伴们有个参考~~  大家可以一起来交流啊。

环境:python3.6.5,64位

导入:import 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. To remove this warning, set Theano flags cxx to an empty string.

百度了好多,我试验了几个,都有这样那样的附加问题出现,下面我一一写出

方法一:

教程:https://blog.csdn.net/xingchenbingbuyu/article/details/51715175

需要用到的软件:https://sourceforge.net/projects/mingw/files/latest/download

https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download

忘记是这俩哪个了

装完之后,嗯。。。报了

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值