【发布时间】:2016-11-11 06:18:17
【问题描述】:
我正在尝试运行 theano 库代码我的设置是 macos sierra x64 和带有 anaconda pacakges 的 pycharm。
我安装了theano: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 才能使用theano,所以我尝试了但后来我发现这两个模块mingw and libpython 仅适用于win平台。
我现在该怎么办?
【问题讨论】:
-
看一下在 Mac 上安装 g++ 的说明here。
标签: python python-3.x g++ anaconda theano