警告(theano.configdefaults):未检测到g++!该节点将无法执行优化的cimplementation

2024-05-28 20:39:46 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试运行一个no库代码我的设置是macos sierra x64和pycharm with anaconda pacakges。

我安装了ano:pip install 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.

然后我在互联网上搜索,发现我必须安装conda install mingw libpython才能与ano一起工作,所以我试过了,但后来我发现这两个模块mingw and libpython只用于win平台。

我现在该怎么办?


Tags: installandtono代码macostheanobe

热门问题