Theano安装警告:未检测到g++
我安装了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.
这是为什么呢?
2 个回答
0
你可以试着安装 mingw,具体可以去这个网站看看:http://www.mingw.org/。这个建议在这里的回答中提到过 - theano g++ 没有被检测到
2
试着安装一下 g++
编译器。
Python的运行速度比较慢,所以在一些对性能要求高的地方,你需要用像C++这样的编译型语言。