解决import theano的错误

来源:互联网 发布:php模版生成html 编辑:程序博客网 时间:2024/06/07 00:23

安装好theano,在控制台下通过python     import theano会报错:

g++ not available, if using conda: `conda install m2w64-toolchain`

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解决问题,如果在安装mingw出现问题,参考博客:http://blog.csdn.net/fang1192801693/article/details/73810714