WARNING (theano.configdefaults): g ++ not found! Theano won't be able to run optimized C implementations

I am trying to run anano library code. My setup is macos sierra x64 and pycharm with anaconda pacakges.

I installed theano: pip install anano and it was successfully installed, but when I try to run the code, it gives 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. To remove this warning, set Theano flags cxx to an empty string. 

Then I searched the Internet and found that I needed to install conda install mingw libpython to work with theano, so I tried, but later I found that these two mingw and libpython are for win platform only.

What should I do now?

+5
source share
1 answer

Since you are using the anaconda distribution, it would be easier to install theano using the conda package conda .

Note : macos comes with the Python interpreter (2.7, I think) out of the box. Are you sure pip installed anano in anaconda python?

0
source

Source: https://habr.com/ru/post/1259579/


All Articles